PHP Java Bridge
The PHP/Java Bridge is an implementation of a streaming, XML-based network protocol, which can be used to connect a native script engine, for example PHP, Scheme or Python, with a Java virtual machine. It is faster and more reliable than direct communication via the Java Native Interface, and it requires no additional components to invoke Java procedures from PHP or PHP procedures from Java.
PHP Java bridge hepls to use Java objects in PHP scripts and it also invokes PHP script from Java object. A typical use would be having PHP front end with Java back end, which will use all services such as JMS, EJB, SOA etc.