Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Web Server and Application Server

 
Swaminathan Balasubramani
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me the difference between Web Server and Application Server?
 
prakash suvarna
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A web server is where usually web components are deployed, ie. this will provide a run-time environment for these components. Web components can be a jsp file or Servlet. Here for deployment we use web.xml file.

where as in application server we can deploy an java components ranging from simple java application to server side business components like ejbs.
Usually when we want to deploy EJBs we will go for App servers like weblogic or websphere. Here ejb-jar.xml or application.xml file is used as deployment descriptor.
 
Andrew Nomos
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An application server commonly includes a web server so perhaps you can see an application server as an extension of a web server
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Double check with your audience that you're talking about the same things. Maybe include very short definitions in footnotes in written docs.

Our Internet Engineering guys say "web server" for Apache or IHS. Anything that runs Java is "application server" to them. This confused the heck out of us for a long while ... we call Apache the HTTP server, the servlet container the web server and the EJB container the app server. Now we know to verify our assumptions when we talk to them!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic