At 12:25 PM 2/5/2001 -0500, you wrote:
>The sapi/servlet option is essentially a Java servlet that you add to
>your Java webserver just like you would any other servlet and it invokes
>the PHP engine through JNI and reflection (so you could reference Java
>objects from within your PHP script).  This option is much more
>efficient then just running the ext/java extension (which allows you to
>access Java objects from PHP by starting up a JVM per session) since the
>JVM used is already running in the Java webserver and can be managed
>much better by the latter than anything ext/java can attempt to do.
>Note that using this SAPI implies that PHP will be running in your Java
>Webserver instead of on your HTTP webserver (e.g. Apache) which could
>have implications (hopefully for the better) unless they're both running
>on the same physical machine.

That sounds excellent.  So if I understand you correctly, I could run 
Apache with JServ (or Tomcat) and build PHP into it to get a nice 
solution.  I could then write servlets that call PHP scripts/functions and 
vice versa?

Shawn
---
Shawn J. Wallace ([EMAIL PROTECTED])
Justweb Inc. - http://www.justweb.com
(519)652-6599 or (800)343-9312


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to