RE: [PHP] Java / PHP Bridge

From: Date: Fri, 23 Jan 2009 15:25:44 +0000
Subject: RE: [PHP] Java / PHP Bridge
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-287043@lists.php.net to get a copy of this message
> -----Original Message----- > From: ceo@l-i-e.com [mailto:ceo@l-i-e.com] > Sent: Friday, January 23, 2009 9:02 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Java / PHP Bridge > > > Zero real experience, but what I hear is that the Java / PHP bridges > are a bit brittle and difficult to shore up properly... > > You may want to consider going with HTTP REST / RPC services instead, > as those are quite solid, and you can get what you want. > > Note that this is all hearsay on my part. > > ymmv About 3 years ago, I played with an earlier implementation of the Java-PHP bridge on SourceForge. I could get some rudimentary stuff to work just fine, but anything complex required a migraine's-worth of configuration and nit-picky settings on both sides. The technology may have improved since I played with it last, but I would also recommend using a web service to accomplish the interoperability. I'm currently working with a .NET project... I turned the entire thing into a WCF REST service that will conditionally send SOAP or JSON replies based on the service client. I can now hook it into Javascript with a prototype built in jQuery, call it using a PHP SOAP interface, reference it directly in other ASP.NET projects, and so on and so forth. You'll get a wealth of benefits aside from making your life easier with bridging the two languages. :) HTH, // Todd

« previous php.general (#287043) next »