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.
PHP/Java , , , , JVM- zombie Apache, kill -9 'd, . cron , . ( - SOAP), , , . ( , , PHP, , .)
kill -9
Gearman Java, PHP. , . , async . , Fire-and-forget RPG- - .
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/