my dog learned polymorphism
The moose likes Servlets and the fly likes difference  between  web server and appn server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "difference  between  web server and appn server" Watch "difference  between  web server and appn server" New topic

difference between web server and appn server

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Can anybody give a clear explanation of difference between and application server and web server.
Abhinav mathur
Ranch Hand

Joined: Jul 05, 2000
Posts: 35
well web server is essentially a http request server(generally).
Giving the requested files from the host machines file system.
the request comes through the HTTP and the file is sent through the HTTP response.
In the application server, they essentially host libraries which are common to applications and this server is the essense of
distributed applications. eg are MTS. J2EE.
in recent times both are bundled together due to Internet applications boom.
Hope this should have got you some idea try reading material on Internet vendors. SUN , Microsoft.
Nitin Dabadghav

Joined: Jun 28, 2000
Posts: 13
Basically according to my knowledge :
1) Web servers are used to transfer web pages. These web servers also act as containers for servlets.
2) Application servers : - Application servers act as containers for major application like Enterprise Java Beans and JSP. If you are simply using a web server you can use some other jsp engines to run JSP's.
As I am working on EJBs I use an application server as a container for my EJBs.
I agree. Here's the link:
subject: difference between web server and appn server
It's not a secret anymore!