What is php/Java bridge?
The php/Java bridge is an optimized, XML-based network protocol, which can be used to connect a native script engine, PHP, with a Java or ECMA 335 virtual machine. It is more than 50 times faster than local RPC via SOAP, requires less resources on the web-server side, and it is faster and more reliable than communication via the Java Native Interface. read more...
What can I do with the php/Java bridge?
The php/Java bridge allows you to quickly access java classes from within your PHP scripts without having to know Java. It also allows you to access PHP scripts from within your Java classes without having to know PHP.
Because of this two-way flexibility, you can access hundreds of pre-built Java classes from your PHP scripts, and hundreds of pre-built PHP scripts from your Java classes opening up your applications to greater flexibility and enhanced functionality. Examples and case studies...
Latest News...
New and Improved Web Site
Monday, December 18th 2006 | Jon Koerber | Discuss | All News
The project admins are pleased to announce a new an improved Web site for the php/Java bridge project.
The goal of the new site is to more clearly and completely present all of the documentation, examples, and other project information gathered over the years.
Over the next few months I will be finalizing the sections, adding new sections, rewriting some of the documentation to make it easier to absorb (where appropriate), and generally re-organizing the tremendous amount of information that was available on the old site.
If you find any Web site errors, omissions, or if you have suggestions for making the Web site better, please don't hesitate to send me an email - jon_koerber@users.sourceforge.net. NOTE: Do not send bridge bug reports, questions or suggestions directly to me, send these to the Mailing List.
"As with all open-source projects, your input and participation is what makes the community work. Please help us by participating in the user discussion forums/mailing list and become a supporter."
Latest Release v3.2.1
Sunday, December 16th 2006 | Jost Böekemeier | Discuss | All News
php/java bridge version 3.2.1 is now available. It contains only bug fixes for problems reported since the 3.1.8 release. Please see release announcements and change log for full details on this latest release.
The protocol hasn't changed (and it will not be changed in future releases), so that ver. 3.1.8 clients can be used with a 3.2.1 server and vice versa.
Latest Release v3.1.8
Sunday, August 13th 2006 | Jost Böekemeier | Discuss | All News
Php/java bridge version 3.1.8 is the production stable release for all platforms. Significant visible/functional changes are listed below. Please refer to the complete change log for full details on this latest release.
- The recommended way to run Java is to start it via a servlet engine or application server. A very simple servlet engine (less than 200 lines of Java code) is contained in the JavaBridge.jar and can be started with
the command:
java -jar JavaBridge.jar SERVLET:8080 3 javabridge_servlet.log - Incompatible change for those who run Java directly within Apache or IIS: The bridge now looks for @channelName\n instead of channelName. This means that both, the php_java.dll or java.so AND the JavaBridge.jar must be upgraded. If you have copied the JavaBridge.jar and the php_java.dll or java.so to the extension directory, make sure that the version numbers match; the version number of the back end can be found in the global.properties within the JavaBridge.jar zip file and the version # of the front end can be checked by temporarily setting java.socketname=0 and running the phpinfo() or the test.php. However, users who run PHP in Apache or IIS and Java in a servlet engine or J2EE AS are not affected.
- A pure PHP implementation of the PHP/Java Bridge is now available in the "java" folder. This means that it is no longer necessary to compile and to install a non-standard PHP extension on the web or J2EE server.
- The license has been changed to LGPL.
Recent Site Changes
Wednesday January 24th, 2007
Jan 24, 2007 - Added additional links and a new reference section on the installation page for Win32.
Dec 22, 2006 - Added project team & contacts page (adding code contributors). Expanded the examples and case studies page, adding many links to the links page.
Dec 18, 2006 - Completed Home page, menu, and news pages. Added all other direct linked files from old site pages. Linked in TXT documents in a generic txt pane for quick display of files.
Last update: January 24th 2007 - 21:04pm PST