Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes Difference Between Application Serve and Web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Difference Between Application Serve and Web server" Watch "Difference Between Application Serve and Web server" New topic
Author

Difference Between Application Serve and Web server

vinothk khannan
Greenhorn

Joined: Oct 08, 2003
Posts: 13
HI All,
Difference Between Application Serve and Web server
I need to know the functional difference between Application Serve and Web server...and with examples.

Thanx all,
Vinoth khanna V
Veligeti Chandu
Greenhorn

Joined: Aug 04, 2004
Posts: 7
Web Server is used to deploy the servlets.. v cant use EJB to deploy them. But in Application server v can deploy both EJB and Servlets.

Ex for webserver is JAVA WEB SERVER

Ex for Applicationserver is TOMCAT,WEBLOGIC etc
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
I would like to use the "container" concept. A Web server is a Servlet container. An Application Server includes both EJB Container and a Servlet container and therefore can also act as a Web Server.

Okay, I must emphasize the "Java" context here( see Paul's response below). So we are talking only about Java and J2EE world here

HTH
[ August 13, 2004: Message edited by: Ajith Kallambella ]

Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


A Web server is a Servlet container.

Oh no its not. The purpose of a web server is to handle HTTP requests and server static content. A web(or servlet) container is an environment which servlets can run in. A by-product of this is that a servlet container can also handle HTTP requests.

An Application Server is typically a bundling of other container components: which usually include a servlet container and an EJB container. There is nothing in the definition of an applicaiton sever which requirtes it to have these components (e.g. Netscape Application Server 4 is a Java Application server which cannot support either Servlets or EJB's. MS IIS is an application server which cannot support Java). However in the Java context an application server is usually summarized as Servlet Container & EJB container.

Examples of Web Servers include: Apache HTTP server
Examples of Web/Servlet Containers include: Tomcat
Examples of Application Servers include: JBoss, Weblogic, Websphere.

I suggest you look at the resources available for these products on their sites to get a better handle on what they do an why you'd use them.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
I think it is a matter of terminology. Some people use the word HTTP Server to distinguish them from a WS.

Quote from J2EE 1.4 spec, Section 2.2 Application Components

A web server includes a web container and other protocol support, security
support, and so on, as required by J2EE specifications.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

True, I agree. However the J2EE spec. isn't really a technology neutral source for definitions. A generic definition wouldn't include a reference to servlets - though in JavaRanch, I suppose you could safely assume that link is implicit.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference Between Application Serve and Web server
 
Similar Threads
App Servers and Web Servers
Tomcat & WebLogic
Diff between webserver & application Server
Diff betn web and App server
Diff betn web and App server