Difference between web container & web server...........
Difference between web server & application server?????????

Answers were Sorted based on User's Feedback



Difference between web container & web server........... Difference between web server & ap..

Answer / veens

web server: Is responsible for receiving request from
client and sending responses to client.
web container: w.c contains Servlet engine and jsp engine,
responsible for executing servlets(JSP) life cycle.
once webserver receivs the request it sends the control to
webcontainer,after execution of servlet(jsp) response will
be sent to web server ,web server will send the response to
client.

Application server: web container + EJB container(engine)

Is This Answer Correct ?    64 Yes 3 No

Difference between web container & web server........... Difference between web server & ap..

Answer / vignesh

web container is a part of web server. which for containing
the servlets & jsps.

Difference between webserver & application server in the
sence, Web server only provide supports for jsps &
servlets. but won't support for EJB. But the Application
server supports all these things, like Jsps, Servlets ane
EJB.

Ex for Web server is TomCat,JRuner
Ex for Application server is WebLogic,JBoss

Is This Answer Correct ?    37 Yes 12 No

Difference between web container & web server........... Difference between web server & ap..

Answer / ramesh nagula

webcontainer is nothing but runtime enviroment, it provides
facility and service required to run a servlet, it provides
the implementation of servlet API..
where as a webserver is a server which hosts our
application and serves webpages upon request.. webserver
contains webcontaine.
Web server supports only http protocol and it can process
http request only where as an application server supports
various protocols like http,ftp,smtp etc.

Is This Answer Correct ?    25 Yes 1 No

Difference between web container & web server........... Difference between web server & ap..

Answer / rajesh

Hi,

Webcontainer is the component reside within the webserver
i.e servlet engine or jsp engine supports dynamic page
delivery(Tomcat).

Web server is the software component which may deliver
static contents or Dymnamic content based on the
configuration.

App servers are heavy weight components which is mainly
build to support components that maintain heavy business
logic and also to provide various Entreprise services.
ex EJB containers.

Regards
Rajesh R
Rajeshr1988@gmail.com

Is This Answer Correct ?    8 Yes 2 No

Difference between web container & web server........... Difference between web server & ap..

Answer / dharmalingam p

A Web Server is a server capable of receiving HTTP requests, interpreting them, processing the corresponding HTTP Responses and sending them to the appropriate clients (Web Browsers). Example: Apache Web Server. Read more about Web Servers and their working>>

A Web Container is a J2EE compliant implementation which provides an environment for the Servlets and JSPs to run. Putting it differently we can say that a Web Container is combination of a Servlet Engine and a JSP Engine. If an HTTP Request refers to a Web Component (typically a Servlet or a JSP) then the request is forwarded to the Web Container and the result of the request is sent back to Web Server, which uses that result to prepare the HTTP Response for the particular HTTP Request. Example: Tomcat is a typical Web Container. A typical setup would be to have Apache HTTP Server as the Web Server and Tomcat as the Web Container.

An Application Server is a complete server, which provides an environment for running the business components (EJBs, ADF BCs, etc.) in addition to providing the capabilities of a Web Container as well as of a Web Server. Example: Bea WebLogic, IBM WebSphere, Oracle
Application Server, etc.

Is This Answer Correct ?    7 Yes 1 No

Difference between web container & web server........... Difference between web server & ap..

Answer / vaibhav.

web server is provide container service to run web application
that contains only jsp & servlets

Application server proivide more service to deplyed
application like security , life cycle manage , pool management

Is This Answer Correct ?    13 Yes 9 No

Difference between web container & web server........... Difference between web server & ap..

Answer / ravikiran.chd

web server is the one where the resources will be saved,and
container is the one where services are provided

web server contains the web components like servlets and jsps
application server contains the web components as well as
the ejb components

Is This Answer Correct ?    2 Yes 11 No

Difference between web container & web server........... Difference between web server & ap..

Answer / shatrughan

Both are using for trnsfer request , Container residing in
application server side.

Is This Answer Correct ?    3 Yes 29 No

Post New Answer

More Servlets Interview Questions

hi.... i have problem in running of servlet. i am using Tomcat server in my pc.. The problem is when i am click on strat it will display like below FAIL - Application at context path /first could not be started.. How i can slove the problem.. help plz

3 Answers  


Can we use javascript in Servlets?

2 Answers   Wipro,


Is there any need to shutdown the web server, if you want to modify a servlet?

3 Answers  


What are different types of Servlets?

12 Answers  


List out the difference between ServletConfig and ServletContext?

0 Answers  






What is called a session?

0 Answers  


What are the difference between RMI and Servlets?

0 Answers  


Write a servlet to upload file on server.

0 Answers  


How can we perform any action at the time of deploying the project?

0 Answers  


What is the difference between Servlets and Applets?

0 Answers  


How to generate the server side programming and the advantages of it over the other languages?

0 Answers  


What are the advantages of Servlet over CGI?

0 Answers  


Categories