I'm far from an expert on this, so use
a big grain of salt. I'm pretty sure there
is a standard method to allow the calling
of Java object methods. For deeper integration, there is a method of running
PHP4 as a servlet within the servlet container, allowing PHP to take advantage of the pooling nature of the container instead of having to spawn a JVM for each object method invocation. See the source tarball
for the documentation (unix), there may be docs in the java packages linked next to the windows binaries on php.net's download page.
I have no idea if this works with PHP3.
Hope that helps a little.
Mike