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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by interservlet communication?

786


What is cookie in servlet?

775


How can a servlet be used to generate plain text instead of html?

741


What is lazy loading and what is Generic Servlet Class?

811


What are the different methods of session management in servlets?

730


What is the difference between the http servlet and generic servlet?

870


How do you configure a centralized error handler in servlets?

755


Why the concept of single thread model interface is used?

727


How to notify an object in session when session is invalidated or timed-out?

828


What is called a session?

830


What is difference between get and post method?

765


Can you explain in detail 'javax.servlet' package?

754


Define the lifecycle for executing a jsp page.

831


Can we fetch the attributes related to a servlet on a different servlet?

866


What is the difference between servlet and filter?

714