Nov

15

PHP / Java Integration

Posted by kevin under technology

There are two possible ways to bridge PHP and Java: you can either integrate PHP into a Java Servlet environment, which is the more stable and efficient solution, or integrate Java support into PHP. The former is provided by a SAPI module that interfaces with the Servlet server, the latter by this Java extension.

The Java extension provides a simple and effective means for creating and invoking methods on Java objects from PHP. The JVM is created using JNI, and everything runs in-process.

….

Read more:http://nio.infor96.com/phpdoc-zh/ref.java.html

Tags: ,

Leave your comment