Re: please give this a little care
| From: | Andrey Hristov | Date: | Wed, 09 Mar 2005 20:45:07 +0000 |
| Subject: | Re: please give this a little care | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15338@lists.php.net to get a copy of this message | ||
Alawi Albaity wrote:
http://bugs.php.net/bug.php?id=32215 please only we want it work until JSR work in 2008Hi, you may try PHP-Java bridge. I have tried it few months ago (with PHP 4) and it worked. I have tested RMI over it and no problems. Looks like it already supports PHP 5. http://php-java-bridge.sourceforge.net/ You may also take a look at this presentation : http://hristov.com/andrey/projects/php_stuff/pres/writing_distributed_apps_with_PHP.pdf Slides 17 through 20, which explain how to setup the bridge. The RMI example uses an example RMI calculator service which I downloaded from somewhere at http://java.sun.com . I decided to try the bridge after ext/java was crashing also for me. By using the bridge one starts (usually) only one virtual machine. If php crashes the JVM does not. Data is persistent in the VM till it is running. Hope this helps, Andrey