From: Jost B. <jos...@ya...> - 2005-07-17 17:54:47
|
The version 2.0.7 of the PHP/Java Bridge is now available. The binary for RedHat Enterprise Linux, RedHat Fedora 1, 2 and 3 (uses PHP4): http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge-2.0.7-1.RHEL.i386.rpm?download The binary for RedHat Fedora 4 (uses PHP5): http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge-2.0.7-1.FC4.i386.rpm?download Windows XP: http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge_2.0.7.zip?download For the rest: http://prdownloads.sourceforge.net/php-java-bridge/php-java-bridge_2.0.7.tar.bz2?download New features: * A dynamic class loader has been added which loads or re- loads classes, jars as needed. The /usr/share/java, /usr/share/java/ext and php libdir/lib are scanned for system libraries. java_set_library_path and java_require can now load and re-load directories containing .class files. * A thread pool has been added. The default size is 20 threads, which can be changed with the -Dphp.java.bridge.threads=<number> flag. If set to 0, the thread pool is switched off. * java_get_values() has been added for PHP5. This primitive evaluates an Array, Collection or Hash on the java server and returns it as an array to the php interpreter. This avoids network round-trips (e.g. when iterating over members of a container), but consumes lots of memory in the php interpreter. * An "invoke" cache has been added which makes the bridge more than twice as fast as earlier versions. The bugs from the following problem reports were fixed: 1223240 PHP 5 RPM for FC4: Binaries are are now available for RHEL (PHP4) and Fedora 4 (PHP5) and higher. A source RPM is available to re-compile the sources (for Suse Linux for example). 1217592 UTF-8 not working on Windows: Fixed (see ChangeLog for details). 1217113 Add a "reset" primitive: java_reset() has been added which resets all internal state. 1212938 Officially support MONO/.NET: Available as a separate download. To build a mono/net backend use the --with-mono=<path-to-ikvmc.exe> flag. 1212919 Servlet engine/Tomcat support: Tomcat4 and Tomcat5 are now supported. To build with servlet support use the --enable-servlet=<path-to-j2ee.jar> configure flag. 1212916 Revise windows documentation and functionality: Fixed, see README.WINDOWS for details. 1208576 new Java() fails with a "NoClassDefFound": Fixed. The bridge now catches the error and calls new JavaClass() instead. There is a PHP/Mono Bridge (2.0.8pre) available which allows one to create GUI (GTK, GNOME, ...) applications with PHP. It is possible to call GTK/GNOME code from PHP and vice versa. Unlike previous attempts, the bridge integrates well into the target environment as it uses reflection once to determine what can or cannot be accessed: http://prdownloads.sourceforge.net/php-java-bridge/php-mono-bridge_2.0.8pre.zip?download ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |