-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ryan,

On 5/31/2011 11:53 AM, Software2 wrote:
> 1) Re-learn Java for developing the new webapp
> 2) Stick to PHP and work out how to host it as a webapp on the tomcat server
> 3) Install another PHP stack (xampp) on the device to host the PHP app

I think it probably comes down to the complexity of the new webapp.

If it's somewhat modest, maybe you could use this opportunity to use
Java again. It's certainly the easiest from a configuration point of
view. :)

If you must have a very complicated webapp, then probably sticking to
PHP is a better idea.

There is another option which is to install Apache httpd as the primary
web server and have that proxy some requests to Tomcat via
mod_proxy_http, mod_proxy_ajp, or mod_jk and "proxy" some other requests
to your php scripts (mod_php).

(If you didn't know, mod_proxy_http comes with httpd and proxys using
the HTTP protocol, mod_proxy_ajp comes with httpd and proxys using the
AJP protocol, and mod_jk is separate from httpd and proxys using the AJP
protocol. mod_proxy_* have the same configuration syntax and are shipped
with httpd so there are two advantages there. mod_jk has more
configuration options and an older somewhat more trustworthy code base,
so there are two advantages there).

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3lVyIACgkQ9CaO5/Lv0PBCcACdFQdS/7RjjkxjM6lacwlRnDWR
D44An1H4PSTDFaw1v3TBwsEUBG8kh1vF
=ATu4
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to