AW: [PHP] PHP vs. Java
| From: | robert | Date: | Wed, 10 Jul 2002 12:13:52 +0000 |
| Subject: | AW: [PHP] PHP vs. Java | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106765@lists.php.net to get a copy of this message | ||
> I agree with the other reply to your question.
> (Keep in mind that it will be easier to sell Java to
> the corporate guys. Some executives shy away from open
> source.)
Php vs. Java?
Why not work together.
copy from manual:
"
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 the Java extension.
PHP 4 ext/java 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. Build instructions for ext/java can be
found in php4/ext/java/README.
"
> Good luck!!!