This week's book giveaway is in the Game Development forum.
We're giving away four copies of Badass: Making Users Awesome and have Kathy Sierra on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes webservers VS application servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "webservers VS application servers" Watch "webservers VS application servers" New topic

webservers VS application servers

Dipti Mishra

Joined: Jan 24, 2006
Posts: 22
hi folks,

i am very much confused about the difference between web servers and application servers.I know that tomcat,JBoss and weblogic are application servers , but can anyone clarify what is a web server and can u just name a couple of webservers available? its urgent so please reply as soon as possible.

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

Tomcat is not an Application Server. It is a Web Container, so that you can have Servlets and JSP, it also allows for static HTML pages too.

Apache is a Web Server, it only serves static web pages. But can also be used as a "load balancer" in from of Tomcat.

So let change the notion of an Application Server to two notions. One of Web Container for Servlets and JSP and the other of an EJB Container which handles EJBs.

So now for instance, JBoss Application Server includes an EJB container and Tomcat Web Container.

I hope this clarifies things a bit more for you. Think more in terms of the Java EE technologies and what containers you would need to support each technology.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: webservers VS application servers