Hi,
PHP/Java Bridge version 5.4.3.2 is now available: http://downloads.sourceforge.net/php-java-bridge/php-java-bridge_5.4.3.2_j2ee.zip?use_mirror=
It contains bindings for the Eclipse BIRT reporting engine, contributed by Jason Weathersby. Reports can be rendered from the console, from Apache or within a J2EE server. For example:
php -d allow_url_include=On report.php >output.html
An example report.php is contained in the JavaBridge.war "binary download".
The changes in detail (from the NEWS file):
* A shutdown hook can now be used to automatically shut down libraries
when the (servlet-) context is destroyed.
* Invocable script engines are automatically destroyed when the
(servlet-) context is destroyed.
* Invocable script engines are no longer automatically destroyed at
the end of the request, as users may want to store them in the
application store for example. Use ((Closeable)engine).close() to
destroy a script engine explicitly.
* The convenience procedures getHttpServletResponse(),
getHttpServletRequest(), getServlet(), getServletConfig(),
getServletContext(), getRealPath() have been added to the the
java_context().
* On Solaris the directory /tmp is used instead of /dev/shm for the
named pipe communication channel.
* An Eclipse BIRT report example is included.
Regards,
Jost Bökemeier
|