PHP-Java interop - Gearman or PJB?

What is the best option for calling Java from PHP?

or something else? By "best" I mean easy to use, reliable, transparent (for debugging purposes) - the entire enchiladas.

In other words, does any solution have any serious flaws?

Edit: The reason for this is a PHP site that needs to use a third-party SOAP service. The type hierarchy defined in WSDL seems too complex for any pure PHP client.

+3
source share
2 answers

PHP/Java , , , , JVM- zombie Apache, kill -9 'd, . cron , . ( - SOAP), , , . ( , , PHP, , ​​ .)

Gearman Java, PHP. , . , async . , Fire-and-forget RPG- - .

+3

Gearman, , , ( , , - RPC). / , (/​​/ ..) , , ?

, , - . XML-RPC ( , SOAP!) , , - Facebook Thrift [1], Apache Avro [2] Google [3]?

[1] http://incubator.apache.org/thrift/

[2] http://avro.apache.org/

[3] http://code.google.com/apis/protocolbuffers/

+3

All Articles