If there is 2/3 servlet in web application, By request dispatcher we can send data 1 servlet to other. In this case if we keep each servlet in different computer(means we add 2/3 separate web servers together)(because we add URL in servlet) & run the all program together. Is it possible? my question is is it possible that 3 friends write servlet there own computer which connected in LAN, each having same or separate web container, they they can run 1 project containing 3 servlet, from separate computer which is work as client computer? If yes then for each there should be same Non-commercial web containers or different also allow, ie if one server work with Apache Tomcat at same time other in Jetty or some thing like that. I read following link [Servlet][List of Servlet containers
Millions saw the apple fall, but Newton asked why.
I believe you can share the session for the same type of web container in different server by using load balancing technique. That is the case when you encounter a heavy load traffic to your system. If you want to use separate server as provider service, perhaps you can use WebServices, Stateless Session Bean or other RPC-based technologies. Please correct me if I am wrong.