You probably already know that PHP comes with extensions for awide variety of different technologies. But did you know that you couldhook PHP up to Java, and use Java classes and Java Beans from withinyour PHP scripts? If this is news to you, keep reading.
One of the coolest things about PHP has to be the wide range of extensions available for the language. Having problems communicating with a particular database? PHP has a wide range of extensions for different databases. Want to process credit cards transactions? PHP includes an extension that allows you to integrate CyberMUT on your Web site. Want to parse and transform XML documents? PHP comes with a built-in SAX parser and XSLT engine.
The moral of the story? You can do a lot of very interesting things with PHP. And one of the more interesting ones includes hooking PHP up to Java and accessing Java classes in a PHP script. Which, coincidentally, happens to be just what this article is about.