Link to home
Start Free TrialLog in
Avatar of CIPL-Senthil
CIPL-Senthil

asked on

what is the difference between webserver and application server

I want to know the clear difference between webserver and application server. let say take tomcat and jboss. tomcat is web server and jboss is application server. i know that tomcat will just forward teh request and get teh response where as jboss will do transaction management also.

How it will do transaction management for an application. i want to know with a clear example
Avatar of Bawer
Bawer
Flag of Afghanistan image

Please note: Apache Tomcat is an Application server now a Web server.

A basic "Apache HTTPD" install can be classed as a dedicated Web server, but include too many modules and you end up with what could be described as a basic application server.
Avatar of CIPL-Senthil
CIPL-Senthil

ASKER

i read the tutorial from javaworld. could you please explain clearly with an example how scenario 2 in javaworld tutorial  will work.
There isn't exactly an ANSI-defined, official definition of a "web" server or "application" server.   So there will never be a "clear" differentiation.  Plus web servers can be application servers  and application servers can run web services.

So best to ask your real question in context of what you have ... specifically what are you trying to know that made you want to know a specific definition for either of these fuzz terms?
if u look at the basic of those 2 words they are the same..

Applications that serve some data, kind of data is not important, called as applications server.. but normally it has its own data schema and  process request with that schema

a web server is an application server that serves HTML codes, images, xml and etc that are spesific for HTTP protocol..

thats it..
Typically a web server offers only web container that can service HTTP requests; while an application server offers support for other services like (EJBs, JNDI, JMS etc in J2EE stack) in a separate container in addition to the web container.
I was asked to refer to javaworld. actually javaworld will give a very good explanation of java concepts. Can any expert can explain the scenario 2 in javaworld for the differentiation between webserver and application server
ASKER CERTIFIED SOLUTION
Avatar of anilallewar
anilallewar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for your clear explanation