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

application server Vs web server

 
vaibhav patil
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is differance between application server and web server
 
namita pa
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A webserver hosts the web applications like servlets and jsp
whereas an application server can take care of both the middleware i.e EJBs and jsp .
 
vaibhav patil
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks namita,

Originally posted by namita pa:
A webserver hosts the web applications like servlets and jsp
whereas an application server can take care of both the middleware i.e EJBs and jsp .

 
Oleg Shklyar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My point of view:
The best example of pure Web Server is Apache. You can also use another definition as HTTP server or Web Container which serves using HTTP methods (mostly GET and POST).
Application server is a set of containers:
- jsp/servlet container ( Tomcat has both:web and jsp/servlet containers);
- EJB , JMS, JMX containers (JBoss for instance);
WebLogic App Server has Web, EJB, JMX and JMX containers.
App Server is like a set of services with useful admin console and some useful features as load balancing, transaction, authentication and authorazation.
Tell me if I wrong.
Oleg.
 
faisal mahmood
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From my point of view:
* static contents are distributed by web server (e.g. Apache)
* dynamic contents are distributed by application server
Servlets/jsps/ejbs etc. J2EE stuff are in the application tier.
Faisal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic