Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

webservers VS application servers

 
Dipti Mishra
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Regards,
dipti
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic