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