This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Regarding Apace and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "Regarding Apace and Tomcat" Watch "Regarding Apace and Tomcat" New topic
Author

Regarding Apace and Tomcat

Swapna Mandava
Greenhorn

Joined: Feb 05, 2008
Posts: 6
Hi,

I understand that Apace is a webserver and tomcat a webcontainer.

My question: Is it mandatory to have a webcontainer along with webserver? ie., when we install webserver, at the time of installation will it ask that I need to install the webcontainer too?

Thanks,
Sujatha
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
Apache is a web server and on its own just serves up static web pages. Though you can include modules that allow programming e.g. PHP and perl modules.

Tomcat is a JSP/Servlet container. This means it can do everythign Apache does in terms of serving up static pages but it will also process JSP and Servlets.

If Tomcat can do what Apache does why would anyone use Apache? Well Apache is highly tuned for its core role and of course many people want to use its other capabilities for server side scripting language. Does this address your question?


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
Swapna Mandava
Greenhorn

Joined: Feb 05, 2008
Posts: 6
Thanks for the quick reply Marcus.

If I want to use tomcat alone without apache, can it handle the server side scripting language?

Thanks,
Sujatha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding Apace and Tomcat
 
Similar Threads
WebSphere Studio Application Developer?
about tomcat
Please anwer to my question?
servlet
Tomcat and Apache