Re: [PHP] Java / PHP Bridge

2009-01-23 Thread ceo

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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Java / PHP Bridge

2009-01-23 Thread Boyd, Todd M.
 -Original Message-
 From: c...@l-i-e.com [mailto:c...@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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Java / PHP Bridge

2009-01-23 Thread Nathan Rixham

c...@l-i-e.com wrote:

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



definitely; couldn't agree more; create your java app as a web service 
[soap/rpc/rest/xml-rpc] using metro/axis/cxf or suchlike and call it 
from php server side to integrate :)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Java / PHP Bridge

2009-01-23 Thread ceo

And vice-versa:



Any PHP functionality that needs to be called from Java can be a web service 
using whatever weapon you find suitable.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Java / PHP Bridge

2009-01-23 Thread Nathan Rixham

c...@l-i-e.com wrote:

And vice-versa:

Any PHP functionality that needs to be called from Java can be a web service 
using whatever weapon you find suitable.



yup and if I may suggest, wso2 WSF for PHP is probably you're best bet 
for doing this;


http://wso2.org/ no finer php web service framework out there

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Java / PHP Bridge

2009-01-23 Thread Bastien Koert
On Fri, Jan 23, 2009 at 10:02 AM, c...@l-i-e.com wrote:


 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


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



Is that hearsay or heresy?

-- 

Bastien

Cat, the other other white meat


RE: [PHP] Java / PHP Bridge

2009-01-23 Thread Boyd, Todd M.
 -Original Message-
 From: Bastien Koert [mailto:phps...@gmail.com]
 Sent: Friday, January 23, 2009 1:13 PM
 To: c...@l-i-e.com
 Cc: php-general@lists.php.net
 Subject: Re: [PHP] Java / PHP Bridge
 
 On Fri, Jan 23, 2009 at 10:02 AM, c...@l-i-e.com wrote:
 
 
  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
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 Is that hearsay or heresy?

Heresy is introducing change to a system of belief. Most commonly, you
see it in religious context.


// Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Java / PHP Bridge

2009-01-23 Thread Boyd, Todd M.
 -Original Message-
 From: Boyd, Todd M.
 Sent: Friday, January 23, 2009 1:44 PM
 To: 'Bastien Koert'
 Cc: php-general@lists.php.net
 Subject: RE: [PHP] Java / PHP Bridge
 
  -Original Message-
  From: Bastien Koert [mailto:phps...@gmail.com]
  Sent: Friday, January 23, 2009 1:13 PM
  To: c...@l-i-e.com
  Cc: php-general@lists.php.net
  Subject: Re: [PHP] Java / PHP Bridge

---8---

   Note that this is all hearsay on my part.

---8---

  Is that hearsay or heresy?
 
 Heresy is introducing change to a system of belief. Most commonly, you
 see it in religious context.

Grr... I meant to write system or belief. Since I'm writing another
e-mail, I'll go ahead and add that hearsay is more or less, I heard
it. Now I'm saying it.


// Todd

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php