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
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---