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 Container OR Server ? 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 "Container OR Server ?" Watch "Container OR Server ?" New topic
Author

Container OR Server ?

upul indrajith
Ranch Hand

Joined: Sep 01, 2007
Posts: 36
Is Tomcat is a container or is it a server..... Whats the different between a container and a server. What are the services provide by the server to its containers ?
saurabh.u saraswat
Greenhorn

Joined: Oct 06, 2007
Posts: 5
Tomcat is a web container.
and for it to act as a HTTP server, Apache and Tomcat are configured together..with apache as a HTTP web server and Tomcat as a Web Container.
upul indrajith
Ranch Hand

Joined: Sep 01, 2007
Posts: 36
Can a web server have more than one container ? what are the services provide by the server to its container ?
Michael Ku
Ranch Hand

Joined: Apr 20, 2002
Posts: 510
I think this question is in the wrong forum...
saurabh.u saraswat
Greenhorn

Joined: Oct 06, 2007
Posts: 5
A web server, as per my understanding, has only a web container.
On the other hand, the J2EE application server should have web container and the EJB container.


As far as the 2nd question goes: the services provide by the server to its container?
I think the container provides service to the server: by properly processing the requests which has a dynamic response. The only thing done by the web server is to forward the specific requests to the container.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Container OR Server ?
 
Similar Threads
Doubt in servlet program using eclipse IDE
app'server and container
What Are the Differences Between HTTP Server and Servlet Container
web container vs web server
Servlet to display an image