aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Container OR Server ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
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://aspose.com/file-tools
 
subject: Container OR Server ?