Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15338 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22906 invoked by uid 1010); 9 Mar 2005 20:43:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22891 invoked from network); 9 Mar 2005 20:43:58 -0000 Received: from unknown (HELO ebay.com) (127.0.0.1) by localhost with SMTP; 9 Mar 2005 20:43:58 -0000 X-Host-Fingerprint: 80.168.8.116 iko.gotobg.net Linux 2.4/2.6 Received: from ([80.168.8.116:54043] helo=iko.gotobg.net) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 84/01-53294-D006F224 for ; Wed, 09 Mar 2005 15:43:57 -0500 Received: from p54a0e68f.dip.t-dialin.net ([84.160.230.143] helo=[192.168.0.42]) by iko.gotobg.net with esmtpa (Exim 4.43) id 1D982A-0007nU-OZ; Wed, 09 Mar 2005 22:43:58 +0200 Message-ID: <422F6053.6020809@hristov.com> Date: Wed, 09 Mar 2005 21:45:07 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alawi Albaity CC: internals@lists.php.net References: <1e7a8fb50503091121b0414c2@mail.gmail.com> In-Reply-To: <1e7a8fb50503091121b0414c2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] please give this a little care From: php@hristov.com (Andrey Hristov) Alawi Albaity wrote: > http://bugs.php.net/bug.php?id=32215 > please only we want it work until JSR work in 2008 > Hi, 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