Fantastic package! Nice work everyone.
A question about building a hybrid application using both JSP and PHP.
It seems like the bridge supports all of these options:
1. Run Apache as the front-end. It runs PHP pages natively, and uses
connector
to run JSP's. Bridge can talk back to the Java end.
2. Run Tomcat as the front-end, and it serves both JSP's and PHP pages. This
seems amazing, but
the JavaBridge.war seems to be able to run PHP pages. But is it doing this
by
exec'ing the php interpreter, or actually calling back to Apache through the
bridge.
The example showing how to share JSP and PHP session seems to use this
model.
Is my analysis correct?
Now, considering option 1 (Apache front-end):
a. Can we share PHP and JSP sessions with this deployment? I'm unclear how
JSP
sessions are handled when using the Apache java connector.
b. Can my PHP page running in Apache actually talk through the bridge to a
webapp
deployed on Tomcat? Basically I need to get to objects in the
ServletContext. I see
the j2ee example on how to connect to an EJB, but I'm not using any EJB's or
remote
objects.
|