WebSphere Extended Deployment, Version 6.0.x
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Using WSAD 5.1 with a new partitioned application

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

  1. 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.
  2. 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.
  3. 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.
  4. 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
  5. 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.
  6. 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.



Related tasks
Developing partitioning facility applications with WSAD Version 5.1
Creating a partition stateless session bean
Task topic    

Terms of Use | Feedback

Last updated: Oct 16, 2009 11:11:31 AM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/WPF51/twpfwsad.html