See the deployment documentation that comes with the IBM WebSphere product:
http://www-3.ibm.com/software/webservers/studio/doc/v40/studioguide/ en/html/sdsscenario1.html