Martin,

> Is there ANY advantage to keeping your legacy PHP?

Here's one: now having to re-write and re-test your perfectly good PHP
application in JSP.

> Why not convert your PHP to Java?

Cause re-writing apps sucks. :(

To answer the OP, you can certainly "run" PHP and JSP on the same
machine. Note that you pretty much require Apache (or another web
server) to connect to PHP in the first place, so it makes sense to use
Apache as the front server for both PHP and JSP. PHP comes with it's own
connector (mod_php, right?), and Tomcat has mod_jk.

I seem to recall some hack to get PHP actually running /inside/ Tomcat.
Am I smoking crack, or was that real? Sounds like a damn sexy hack if
it's true.

-chris


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to