File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes application server vs web server vs web container Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "application server vs web server vs web container" Watch "application server vs web server vs web container" New topic
Author

application server vs web server vs web container

Maiyappan Manalan
Greenhorn

Joined: Nov 26, 2012
Posts: 1

can you please differentiate the application server and webserver and web container detaily...

Thanks in advance
Meiyappan
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

An application server is able to run EJBs. For example WebSphere or JBoss.

A web container is only able to run servlets (not EJBs). For example, Tomcat or the web container embedded in WebSphere.

A web server is only able to serve static content like images - no Java apps at all. Apache Http Server is an example


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42950
    
  70
Start reading here: https://www.coderanch.com/how-to/java/WebVsApplicationServer
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: application server vs web server vs web container