Version 2.0.1 of the PHP/Java Bridge is available.
The binary for RedHat Enterprise Linux 3 or 4 or Fedora Linux:
http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge-2.0.1-1.i386.rpm?download
The binary for Windows XP:
http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge_2.0.1-win32-php5.zip?download
Source for the rest:
http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge_2.0.1.tar.bz2?download
There are no user-visible changes from version 1.0.8 to version 2.0.1.
However, the server part is now written in pure java. The new XML
protocol is at least two times faster than the old binary protocol based
on java JNI. Furthermore it is now possible to deploy the
JavaBridge.jar into WebSphere or WebLogic and to invoke java enterprise
applications from PHP scripts without writing SOAP or EJB interfaces.
The XML protocol makes it easy to write bindings for perl, phython or
other script languages. The examples/clients directory contains a
sample written in the programming language Scheme which connects to the
server, asks for System.getProperties() and transforms the resulting XML
document via a XSL into a HTML table.
Two experimental features were added:
1. session sharing, see tests.php5/session.php
2. the bridge can connect to a number of backends running the server
part of the bridge. If one backend is unavailable, the bridge uses the
next available backend. Please see the documentation for java.hosts for
more information.
|