Right now, I am in the process of learning PHP and I have some experience in Java. In some languages, you have the ability to use libraries written in one language and the use it’s objects in another. For example, you can invoke objects written in C++ in VB using COM/COM+. How well does this idea translate in regard to PHP and Java? Is this even a good idea?
Keep in mind I am NOT talking JavaScript.
It is possible, with PHP 5 the two current options seem to be use Zend Server CE as your PHP web server. ZSCE supports Java connectivity when the Java Bridge is enabled.
The other option appears to be PHP/Java Bridge which is a SourceForge project.