Hello All, I think web container is term used by java developers.. right?? Cheers, Nachiket
On Sun, Feb 8, 2009 at 9:48 PM, dinesh <dinesh.vadiv...@gmail.com> wrote: > > 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. > > 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, > OracleApplication Server, etc > > On Feb 8, 6:09 am, Anas <anas.ahmed.elsal...@gmail.com> wrote: > > thnks > > useful information > > > > On Feb 7, 6:44 am, Pravin Sinha <pks_chen...@yahoo.com> wrote: > > > > > Hi Anas, > > > > > As per my understanding it goes like this: > > > > > > Web Server : It accepts HTTP request from client(usually a web browser) > and forwards it to web container. Gets the response from Web Container and > forwards it back to client. > > > Web Container: It accepts request to from server and as per the request > type call the service method(doGet, doPost etc) on the respective > resource(servlet/JSP) based on uri and sends back the response to web > server. It is also responsible for: Communication support(socket creation), > Servlet life cycle management (Init(), Service() and Destroy()), > Multithreading support, > > > Declarative security(thru deployment descriptor) and JSP support . > > > > > is the web container part of web server ? > > > I know about Apache Tomcat. Earlier 'Apache' used to come as a separate > web server. > > > but now both come together as Apache Tomcat where Tomcat is an > implementation of > > > the Java Servlet and JavaServer Pages technologies. > > > > > is servlet web container or web component ? > > > None. Servlet is niether. It is just a Java class capable of processing > http based > > > request/response. > > > > > Thanks, > > > -Pravin > > > --- On Fri, 6/2/09, Anas <anas.ahmed.elsal...@gmail.com> wrote: > > > From: Anas <anas.ahmed.elsal...@gmail.com> > > > Subject: [java ee programming] what is the difference between web > server and web container > > > To: "Java EE (J2EE) Programming with Passion!" < > java-ee-j2ee-programming-with-passion@googlegroups.com> > > > Date: Friday, 6 February, 2009, 10:12 PM > > > > > hello there > > > what is the difference between web server and web container ? > > > is the web container part of web server ? > > > is servlet web container or web component ? > > > thanks > > > > > Get perfect Email ID for your Resume. Grab nowhttp:// > in.promos.yahoo.com/address > > > -- Regards, Nachiket Patel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---