IMO, the deployment of J2EE application is similiar with a installation of deskstop one. this procedure mostly should be done automatically. for example, we bundle it into a .ear package and put it into a deploying folder. if we are developing, we can use
ant tool to make it done by ant-script describing. ofcouse we sould write some documents to tell others what the application includes and how to adjust it. to find such a template document, i think you can refer to
java petstore installation guid - a html file you can download from Sun. if you have installed some open-source web application in your computer, you can look into it to find the installation guid.