You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(2) |
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
9
|
10
|
11
(1) |
12
(3) |
13
(4) |
14
(11) |
15
|
|
16
|
17
(2) |
18
(7) |
19
(2) |
20
(2) |
21
(5) |
22
(2) |
|
23
(1) |
24
(1) |
25
(3) |
26
(2) |
27
(2) |
28
(1) |
29
|
|
30
|
31
|
|
|
|
|
|
|
From: <php...@li...> - 2011-01-26 22:37:12
|
Hi,
interesting concept. But it doesn't work, because the jsr223 api doesn't
know about the existing php continuation and creates a new one.
Jsr223 is for java->php->java... calls. For php->java->php... calls use
java_closure:
function toString() { return "i am a php Object method called from java
called from php.";}
echo java_closure();
Please see java_closure API doc for details.
Regards,
Jost Bökemeier
|
|
From: <php...@li...> - 2011-01-26 15:10:05
|
Greetings everyone,
I take part in a fairly big project, several different companies take
part on it. The main platform is made in PHP, but usual corporative
madness means that some parts of the project will be made in Java (looks
like some companies would go bankrupt if they produce some PHP code :p).
So far, we've been able to call java from our main php framework with
php/java bridge, which seems to be fairly easy with php/java bridge. But
in order to avoid duplicating some work, the java code should be able to
call objects that exist in the main PHP, which are not able to do yet.
We try this in the php file:
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
class FooPHPClass
{
function greet()
{
return "I'm a FooPHPClass function";
}
}
java_context()->setAttribute('FooPHPClass', java_closure(new
FooPHPClass()), 100);
$hw = new java("helloworld");
java_call_with_continuation();
echo $hw->hello();
In the java side, we are trying this:
public class helloworld
{
public String hello()
{
ScriptEngineManager manager = new ScriptEngineManager();
ScriptEngine e = manager.getEngineByName("php-invocable");
String v = "";
try
{
Invocable i = (Invocable) e;
// This needs to call the class defined in the original PHP thread
Object FooPHPClass = e.getContext().getAttribute("FooPHPClass", 100);
v = (String) i.invokeMethod(FooPHPClass, "greet", new Object[] {
new String() });
e.eval((Reader) null); // release the continuation, flush output
}
catch (javax.script.ScriptException ex)
{ }
catch (java.lang.NoSuchMethodException ex)
{ }
return "Invoke result: " +v;
}
}
With this, running the php file in apache, we get a Java exception with
the message: "java.lang.IllegalStateException: PHP script did not pass
its continuation to us!".
I don't really know how to proceed to make it work, since I'm really new
to the php/java bridge.
|