hello, i was trying to understand the deployment procedure. I have some confusion with .war and .ear files. Suppose i am using Tomcat and created the directory as 'test'. structure is as follows: tomcat / webapps / test / \ jsp WEB-INF(it contais web.xml) When i run any '.jsp' file the corrosponding servlet gets created in 'work' directory. If i want to create a 'app1.war' for my application which directory should i use(work or test)? and suppose some EJB.jar are also to be added to create 'app.ear'(I know .ear is not used in Tomcat.... then consider i want to use it in websphere) file for the same application then what are the contents of that file along with 'app1.war' and 'EJB.jar'. What will be the Deployment Discriptor for this .ear file. Can you please give some example. The next thing is when you give it to client and try to install it on his server. how does this installation takes place? Thank you!