Tuesday, February 1, 2011

What are the different types of servlet container- Explain?

-Standalone
The main webserver and servlet container are integral part of single program

-In-process-
The main webserver and servlet container are different programs,but the container runs within the address space of main server as plug-in
as an example Tomcat running inside the Apache webserver.Here the requests comes,Apache loads the JVM to receive the request then load the Tomcat to handle the serlvlet
request by using the Tomcat plug-in

-Out-of-process
The webserver and servlet container are different programs and those are running on different process space of the jvm.
Webserver will use the Servlet plug-in to communicate with the servlet container that servlet container vendor will provide

No comments:

Post a Comment