Originally posted by saurabh.u saraswat:
In the distributed environment, where do we place the web.xml file(in which server, say for eg. if my appln is distributed among 3 servers)?
Hi,
It is not clear from your question that if you want to distribute your application is three different servers, like some parts are running on each server. In this case the web.xml is different and deployed per server as per the serve lets you deployed on that server.
If you are talking about the clustering like distributed environments, typically one container is spread across different JVMs and there is one instance of each servlet per JVM. You deploy, the application only at main server and the container take care to make instances of servlets, handling of session migration, application context etc. to distribute among JVMs.
Thanks
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0