File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "container" Watch "container" New topic


kan nat

Joined: Mar 19, 2009
Posts: 28
what is the web container and servlet container, are both same, in some places i see servlet container and someother places have web container
Ankitt Gupta
Ranch Hand

Joined: Feb 19, 2009
Posts: 101
i guess both are same as there is only one container in which your web application lie and servlet is a part of web application
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

The difference would be between web server & web container where web servers used to serve static content and web containers are for dynamic content (servlet / jsp etc..). Servlet container & web container used interchangeably.

[How to ask questions] [Twitter]
rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
web container is a generic word
Tomcat is a standalone (servlet) web container
You can also call (EJB)web container

Rakesh Kadulkar
I agree. Here's the link:
subject: container
It's not a secret anymore!