There used to be a PHP extension that could load Java libraries and call methods in them. That was for PHP 4.
Is there a way to do the same in PHP 5?
If you need Java integration in PHP 5, there is the Zend Server Java bridge:
http://www.zend.com/en/products/server-ce/
and "PHP/Java Bridge":
http://php-java-bridge.sourceforge.net/pjb/
EDIT
If you don't like either of the above options, then consider using Quercus. This is a Java implementation of PHP, that makes it easy to reference Java from within PHP and vice-versa
1.4m articles
1.4m replys
5 comments
57.0k users