- If both web server and web container are available as a single integrated component, such type of web containers are called standalone web containers.
2. In process web container:
- If the web container runs in the same address space of web server as plug-in. Such types of web containers are called in-process web containers.
Example: Apache web server and
Jboss we container installed on the same machine.
- In this case we can go for different vendors for web containers and web servers.
- These types of web containers are best suitable for small scale applications.
3. Out-process web containers:
- Web server and web container runs on difference machines and web container attached externally to the web server, such type of web containers are called out-process web containers.
Example: We can configure Apache web server as front
end and BEA weblogic as backend.
- These types of web containers are mostly used web containers in real time.
Can u please distinguish between WebServer and WebContainer?
ReplyDeleteWebServer is responsible for receiving the request from the client and it checks the request type. If the request is for static resources, it provides the response if static content is already there in the server. That means it will serve only static data and it acts as a mediator between the client and the webcontainer if the request is for dynamic content.
DeleteWebContainer is responsible for providing the environment to run the helper applications like servlet which is responsible for generating the dynamic response.
To provide the dynamic content as response we need Webserver as well as Webcontainer. Generally we will use Webserver(example Apache) as front end and any webcontainer(tomcat, jobss) as containers in backend in real time.
i agree with u sir.... hadsoff
ReplyDelete