Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
SERVER AND WEBSERVER BOTH ARE SAME OR IS THERE ANY DIFFERENCE. PLEASE EXPLAIN.
Server and web server both are same or is there any difference. Please explain.
Posted
Updated 20-Jul-12 18:23pm
v2
Comments
[no name] 20-Jul-12 23:45pm    
You are kidding me right? Why are you screaming?
Sebastian T Xavier 20-Jul-12 23:56pm    
Use small caps

The basic difference between a web server and an application server is
Webserver can execute only web applications i,e servlets and JSPs and has only a single container known as Web container which is used to interpret/execute web applications

Application server can execute Enterprise application, i,e (servlets, jsps, and EJBs) it is having two containers 1. Web Container(for interpreting/executing servlets and jsps) 2. EJB container(for executing EJBs). it can perform operations like load balancing , transaction demarcation etc etc

Read more: http://wiki.answers.com/Q/What_is_the_difference_between_an_application_server_and_a_web_server#ixzz21EDdqnfk
 
Share this answer
 
Comments
Sandeep Mewara 21-Jul-12 1:37am    
Wel, correct BUT did you see user tagged it as ASP.NET! You answer would just sound Greek to him based on Java related stuff.
They are two different things.

A Web server handles the HTTP protocol. When the Web server receives an HTTP request, it responds with an HTTP response, such as sending back an HTML page.
whereas
An application server exposes business logic to client applications through various protocols like HTTP, TCP-IP etc.

Refer for detailed comparison: Application Server vs Web Server[^]
 
Share this answer
 
Comments
Espen Harlinn 21-Jul-12 7:50am    
Good reply :-D
Sandeep Mewara 21-Jul-12 12:22pm    
Thanks Espen. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900