Hi to all, i don't know if this is the right thread to start this conversation. I have a doubt about something that i read in this article (i don't want to spam, i only want to reference the source of my doubt):
I see this paragraph "... if you wanted to get good HTTP performance from Tomcat you really needed to have a the Apache web server to sit in front of Tomcat which ..." and this "Since GlassFish v1 (May 2006), Grizzly is the HTTP frontend of the application server....", well, i don't understand very well, but, that means that Tomcat inside of it has Apache Server embedded? If that's the case, it means that apache server is used for jsp and Tomcat for servlets or something like that? Also, can i install php module and use apache tomcat to serve php files?
Thanks in advance.
Wanna grow? Learn, live, love people and enjoy life
that means that Tomcat inside of it has Apache Server embedded?
No, it means that there are two servers running (Tomcat and Apache httpd), and that all requests go to httpd (which so acts as a "front") and which passes all servlet/JSP requests to Tomcat.
If that's the case, it means that apache server is used for jsp and Tomcat for servlets or something like that?
httpd can't handle JSP (which is a Java technology). It would be used to handle everything that's not a Java web app: other static content, maybe PHP, maybe Perl, ...
Also, can i install php module and use apache tomcat to serve php files?
Modules are an httpd feature, not a Tomcat feature. So, if you install a PHP module into httpd, then it can handle static content and PHP content, while it would pass on servlet/JSP requests to Tomcat.
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
SKIP - a book about connecting industrious people with elderly land owners