aspose file tools*
The moose likes Tomcat and the fly likes Apache HTTP Server VS Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache HTTP Server VS Tomcat" Watch "Apache HTTP Server VS Tomcat" New topic
Author

Apache HTTP Server VS Tomcat

Priya Dasu
Greenhorn

Joined: Nov 19, 2003
Posts: 6
Hi there,
I am getting into ASAPI - Apache Server API and how it can be used to integrate modules with Apache HTTP Server. I also know about mod_jk/JK which is present in Tomcat to configure with Apache so that Tomcat runs on Apache Server.
What i want to know is -
1] Is there is any way by which i can directly integrate modules(perl or C) to Tomcat?
2] If i were to integrate my modules to Apache Server and then integrate Tomcat to Apache Server using mod_jk does that give me any advantage over using only Apache Server with my modules integrated to it.
3] When should Tomcat be integrated with Apache using mod_jk?
Thanks in advance,
Priya
Carl Trusiak
Sheriff

Joined: Jun 13, 2000
Posts: 3340
1) http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html
2) No other module supports JSP and Servlets in the newer versions except a Servlet Conatiner such as Tomcat, Resin, Weblogic etc. All need a Connector to use with Apache.
3) Apache is finely tuned to handle serving up static content. If your site has a lot of html pages, gifs etc. Apache can do this with minimal server resources and should be used. If you want dynamic content provided by Servlets or JSPs, you must use Tomcat or another servlet capable contianer.


I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache HTTP Server VS Tomcat
 
Similar Threads
Integration of apache and tomcat
Connecting Apache/Tomcat with mod_jk
install tomcat on server with apache
Where is the mod_jk DLL for Apache2.0 on Win32?
This weeks giveaway