what is different between webserver and application server?

Answers were Sorted based on User's Feedback



what is different between webserver and application server? ..

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

what is different between webserver and application server? ..

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

what is different between webserver and application server? ..

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

what is different between webserver and application server? ..

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

what is different between webserver and application server? ..

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

what is different between webserver and application server? ..

Answer / sourav

Web Server doesn't support clustering but application server
supports clustering.

Is This Answer Correct ?    1 Yes 0 No

what is different between webserver and application server? ..

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

what is different between webserver and application server? ..

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

Post New Answer

More Tomcat Interview Questions

What is the difference between glassfish and tomcat?

0 Answers  


Where is tomcat server xml?

0 Answers  


Why do we use wildfly?

0 Answers  


How can I access members of a custom realm or principal?

0 Answers  


What is the tomcat default port?

0 Answers  






What is context path in tomcat?

0 Answers  


How to deploy struggle or java purposes in apache?

0 Answers  


What language is tomcat written in?

0 Answers  


What is shutdown port in tomcat?

0 Answers  


Why do we need apache tomcat server?

0 Answers  


How to we can change tomcat default port?

0 Answers  


Is tomcat a java application?

0 Answers  


Categories