Chapter 7 Creating J2EE Applications for IBM WebSphere 5.0


Defining WebSphere Environment Variables

If you plan to use WebSphere Application Developer 5.0 to compile and deploy J2EE applications, you should define the WSAD_HOME environment variable to indicate the WSAD home directory. You can define it as a Windows environment variable or as a PowerDesigner variable. If you define a Windows environment variable, you will have to restart PowerDesigner for this change to take effect.

The WSAD_HOME variable should not end with a \. For example, use C:\WebSphereStudio instead of C:\WebSphereStudio\.

Steps To define WSAD_HOME as a PowerDesigner variable:

  1. Select Tools→General Options.
  2. Select the Variables category.
  3. Add a WSAD_HOME variable.
  4. In the WSAD_HOME variable value box, enter the WSAD home directory.

If you plan to compile and deploy using another IDE or PowerDesigner, you should define the WebSphere Application Server home directory environment variable WAS_HOME as a Windows environment variable or as a PowerDesigner variable. If you define it as a Windows environment variable, you will have to restart PowerDesigner for this change to take effect.

Steps To define WAS_HOME as a PowerDesigner variable:

  1. Select Tools→General Options.
  2. Select the Variables category.
  3. Add a WAS_HOME variable.
  4. In the WAS_HOME variable value box, enter the WAS home directory.

 


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