Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes What is Diff betn  Application Server & Web Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "What is Diff betn  Application Server & Web Server " Watch "What is Diff betn  Application Server & Web Server " New topic
Author

What is Diff betn Application Server & Web Server

Sanjay Deshpande
Ranch Hand

Joined: May 22, 2001
Posts: 111
What is Diff betn Application Server & Web Server.
Plz let me know all sorts of diff.
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Typically a web server just serves up web content and, sometimes, web applications such as those built using JSP, Servlets, ASP, etc. Application servers are generally used for building distributed, component based transactional systems with technologies such as EJB, CORBA, .NET, etc.
That's the basics anyway...
Simon
Vikram Prabhu
Greenhorn

Joined: Nov 18, 2002
Posts: 3
There is a logical difference between them as per specifications.
In a typical 3 tier architecture, usually server ( Webserver + Appserver) sits in the middle tier.
webserver can be identified as the one talking to first tier (usually Client) , it deals with clients directly and presentations, which serves pages like JSP, ASP or HTML. Appserver is the one which takes the request from the Webserver and returns the response might be by accomplishing this by talking to the third tier (usually DataBase)
There are compact servers with both webserver and appserver together are available in the market. Ex: BEA's weblogic, Sybase's EAServer etc.


Learning Java...
nishwas mahindra
Ranch Hand

Joined: Dec 23, 2002
Posts: 104
Also web server works on http
App server do not have a constraint.That can be defined protocol like a client/Server
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: What is Diff betn Application Server & Web Server