
Chapter 3 Creating J2EE Applications for Sybase EAServer
Building and Deploying EJBs, Servlets and JSPs Using Eclipse
PowerDesigner can generate an Eclipse project that allows you to compile, package and deploy using Eclipse.
To build and deploy EJBs, Servlets and JSPs using Eclipse:
- Add the Eclipse Extended Model Definition in the PowerDesigner OOM.
- In the General Options dialog box, display the Variables page and add a variable ECLIPSE_HOME to indicate the home directory of Eclipse.
- Generate all the Java code using Language→Generate Java Code without selecting any command task.
- Launch Eclipse.
- Import the generated Eclipse project.
- Use the Rebuild command to compile and package.
- Right click on the build.xml file and select Run Ant.
- Select the deploy command to deploy the J2EE application into EAServer.
For more information, see Eclipse technical document.
Copyright (C) 2005. Sybase Inc. All rights reserved.
|
|