Conclusion
Using the PHP Java extensions allows you to extend your PHP code, via all the Java class's now available. Some potential uses are;
1. Use PHP to send a fax, via the Hylafax Javaclient http://www.hylafax.org/
2. Use PHP to access your Remedy application http://www.tek-tools.com/jticket/
3. Use PHP to generate bar codes, via a Java Barcode class
4. Convert your Applets so that they can generate a GIF / JPG to display to non Java browsers
In the next article on Java and PHP, we hope to show how to set up PHP with Java on a Linux box, Error checking, show you how to generate a JPG file from a Java class and use some classes readily available on the Web.
-- Mark
-- Joost
and thanks to Sam Ruby for producing such an interesting extension to PHP!
Useful Links
http://www.php4win.de ~ A great Win32 distribution of PHP
http://www.javasoft.com ~ Sun's Java release
http://www.jars.com ~ Start searching for handy Java classes
http://www.gamelan.com ~ More Java classes
http://www.technetcast.com/tnc_play_stream.html?stream_id=400 ~ Sam Ruby about PHP and Java integration at Open Source Convention 2000 (audio)
http://xml.apache.org ~ Apache XML Project
http://www.phpbuilder.com/columns/justin20001025.php3 ~ Transforming XML with XSL using Sablotron