Deploying EJB, Servlets and JSP into an Application Server

You can deploy EJB, servlets and JSP into and application server.

  1. Right-click the build.xml file in the Eclipse Package Explorer.
  2. Select Run > Ant Build .
  3. In the Modify Attributes and Launch dialog box, select the deploy task.

  4. Click Run.

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.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com