JavaBridge.jar

it doesn’t support HTTP/1.1, persistent connections, a connection pool or other standard Java EE features. Its use as a replacement for a Java EE application server is therefore not recommended in production environments.

So after several testing, we plan to move to Zend Server with built in Java Bridge.

Java bridge in the Zend Server is easier to configure than with running the javabridge.jar.

Here’s how to configure the java bridge w/in Zend Server

*Run Zend Controller and turn on “java bridge”

* Open zend server web based management and click ‘zend java bridge” directives

Choose the port number in which java bridge will listen. Save and restart PHP and apache services

The advantage of using Zend server java bridge:

* you don’t need to launch a separate servelet like the “javabridge.jar”

* you don’t need to include (“Java.inc”)

* you don’t need to define “JAVA_HOST”

*use the Java() function directly w/in your application.

Happy Coding