Chapter 9 Creating J2EE Applications for IBM WebSphere 5.0


Generating and Deploying J2EE Application from PowerDesigner

You can generate the Java code, compile the code, package and deploy into WebSphere server from PowerDesigner.

Steps To deploy a J2EE application into WebSphere server from PowerDesigner:

  1. Make sure that the WAS_HOME environment variable is defined to indicate the WebSphere server home directory.
  2. Select Language→Generate Java Code.
  3. In the Options tab, disable the "Generate WebSphere Application Developer 5.0 project files".
  4. In the Tasks page, select the "Java: Build components, Create EJB JARs, Web Application WARs and EAR" task and the "WebSphere: Deploy the EAR file in WebSphere Application Server" task. The deploy task should be after the build task:


    PowerDesigner will use the ejbdeploy.bat command to generate the server side code and the wsadmin.bat to deploy the J2EE application.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.