Hi,
I have created a standard JavaBridge.war file which could be deployed tomcat 4. I have tested on tomcat 4 only, but it should/will work on any modern servlet engine:
http://php-java-bridge.sf.net/JavaBridge.war
http://php-java-bridge.sf.net/java.so (php4 module for RedHat Linux)
To install it please deploy the JavaBridge.war into your servlet engine and java.so into your Linux PHP 4 extension directory. Edit the php.ini so that it contains the following entries:
extension = java.so
[java]
java.hosts="127.0.0.1:8080"
java.servlet=/JavaBridge/PhpJavaServlet
Known problems:
* Please do not deploy the current JavaBridge.war into a server connected to the internet.
* It is currently not possible to call back php from java procedures (JSR223 will handle this).
* Communication through the servlet is slower than communication through local ("unix domain") sockets, but it is still much faster than SOAP based web services.
* the java.so above is for Linux (intel) only.
I will commit the source code as soon as possible. (I seems I have forgot the cvs account password during my vacation..)
Regards,
Jost Boekemeier
---------------------------------
Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher |