[Version 5.0.2 and later]Specifying target servers for J2EE projects

Why and when to perform this task

The J2EE tooling of the Assembly Toolkit and the WebSphere Studio Application Developer Integration Edition enables you to target a specific server during your application development. For example, if you want to take advantage of the features of JDK 1.4.1, which is used as the run time environment for WebSphere Application Server Version 5.1, your applications require different class path entries than those that were used previously. With this server targeting feature, you can now easily update your class path entries appropriately for running on WebSphere Application Server V5.1 using the JDK 1.4 run time environment. But more than just supporting JDK 1.4.1, targeting a server is an easy way to specify the JAR files available at run time for a specific server.

When a target server is specified for a project, a .server file is added to the project resources indicating the target server.

After you enable the server targeting feature in the preferences, the J2EE project creation and import wizards include an additional option where you can specify a target server for the project. The list of target servers that you can choose from is filtered based on the J2EE level of the application as well as the J2EE module type. For example, for an EJB project, only servers that support Enterprise Java Beans are displayed.

For more information about target servers, refer to the WebSphere Studio Application Developer Integration Edition documentation under the following topics:

To enable the server targeting support:

Steps for this task

  1. Select Window > Preferences .
    The Preferences window opens.
  2. On the J2EE page of the preferences, select the Enable radio button in the Server Targeting Support section.
  3. Select OK.




Searchable topic ID:   tapp_targetserver
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/appprofile/tasks/tapp_targetserver.html

Library | Support | Terms of Use | Feedback