You can deploy EJB, servlets and JSP into and application server.
By default, the deploy task deploys the .EAR file. The Ant build.xml file contains the server name, port number, user name and password properties used for deployment.
These properties are generated from the PowerDesigner generation options. If you did not set these properties correctly when you generated the files from PowerDesigner, you may need to edit the build.xml file to set these properties prior to deployment.