About this task
Open WebSphere Studio
Application Developer (WSAD) and follow the instructions below to
set up a partitioned application. The steps shown are using WebSphere Studio Application
Developer (WSAD). However, if you use Rational Application Developer (RAD), these
steps should apply in most cases.
Procedure
- Create a Java 2 Platform
Enterprise Edition (J2EE) project with an enterprise bean module and
an application client. Add the wpf.jar from the
project to the enterprise bean module. Right click on the enterprise
bean module and select the properties menu item.
- In the resulting properties window, click on the Add
Variable button to define a variable indicating where you have
installed the WebSphere Extended
Deployment product.
- Click on the New... button. In the resulting New
variable window, create the variable. Call your new variable XD_HOME and
specify the path. Click OK. In the New Variable
window you should see XD_HOME listed.
- Click on the Extend... button. This allows
you to add a jar based on this variable to your project class path.
The use of a variable means that when multiple developers are using
CVS then each developer can set XD_HOME to a different directory
easily and still use the project when WebSphere Extended Deployment may be installed
in different directories
- In the resulting window, expand the lib subdirectory by
selecting the wpf.jar and click OK. If
you need any other jars, select those also.
- Optional: If you are using any additional jars
in third party products such as Log4J, then they should be added using
a similar approach. Define a variable and then extend it.