• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Difference Between Application Serve and Web server

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Paper jam tastes about as you would expect. Try some on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic