what is different between webserver and application server?
Answers were Sorted based on User's Feedback
Answer / neena
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
Is This Answer Correct ? | 17 Yes | 0 No |
Answer / sriniwas,m
Web server supports only http protocal
Where as application server supports any ytpe of protocalls
such as tcp/ip,http etc..
Is This Answer Correct ? | 13 Yes | 1 No |
Answer / mala
According to my knowledge,
Application server is more capable of dynamic behaviour
than webserver. We can also configure application server to
work as a webserver.Simply application server is a superset
of webserver.
Webserver exclusively handles http requests.application
server serves bussiness logic to application programs
through any number of protocols.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / gireesh
All the above are correct,Plz add the below points also
web server can't act as Application Server but Application server can act as Web Server.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ramesh sukka
if you use any J2EE middle ware services like JAAS,JTA in
your application, you required application server container
to deploy the application. if you only use plain
servelts,JSP in ur application, web server is preffered one.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / sourav
Web Server doesn't support clustering but application server
supports clustering.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sourav
Webserver recognise only WAR file but application server
recognize WAR as well as RAR,EAR etc
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / priya
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. To process a request, a
Web server may respond with a static HTML page or image,
send or redirect, or delegate the dynamic response
generation to some other program such as CGI scripts, JSPs
(JavaServer Pages), servlets, ASPs (Active Server Pages),
server-side JavaScripts, or some other server-side
technology. Whatever their purpose, such server-side
programs generate a response, most often in HTML, for
viewing in a Web browser.
The web server simply passes the request to the program to
handle it. The web server does not provides any
functionality beyond providing an environment in which the
server - side program can execute and pass back the
generated responses. The server-side program usually
provides such functions as transaction processing, database
connectivity and messing .
Application Server
While an application server exposes business logic to client
applications through various protocols like HTTP, TCP-IP
etc. All the web servers mainly deals with sending HTML for
displaying to a Web browser. An application server providers
allows the client to access the business logic for use. The
application server is used to run business logic or
dynamically generating presentation code. A J2EE application
server runs servlets and JSPs that are used to create HTML
pages dynamically. In this case, J2EE application server can
run EJBs ? which are used to execute business logic. An
application server is more capable of dynamic behaviour than
webserver.
Is This Answer Correct ? | 1 Yes | 0 No |
What is better nginx or apache?
Who is responsible for tomcat?
What is tomcat connector port?
Can ear be deployed in tomcat?
What is apache tomcat 6?
Why do we use weblogic server?
What is catalina?
How many connections can a web server handle?
Suppose when we are starting startup.bat file of tomcat server it is not started. Dos window appears for a second only. What we need do?
What is tomcat and how it works?
Is tomcat a web container?
What is context path in tomcat?