|
Lines 25-31
Link Here
|
| 25 |
during project creation and import, and it can be changed in the project properties. |
25 |
during project creation and import, and it can be changed in the project properties. |
| 26 |
The target server setting is the default mechanism for setting the class path |
26 |
The target server setting is the default mechanism for setting the class path |
| 27 |
for J2EE projects.</div><div class="section"><p>In order to support different application servers that use different |
27 |
for J2EE projects.</div><div class="section"><p>In order to support different application servers that use different |
| 28 |
JDK levels for their Java⢠Runtime Environment (JRE), the workbench |
28 |
JDK levels for their Java Runtime Environment (JRE), the workbench |
| 29 |
prompts you for a target server setting for each J2EE project. For example, |
29 |
prompts you for a target server setting for each J2EE project. For example, |
| 30 |
if you want to take advantage of the features of JDK 1.4.2, your applications |
30 |
if you want to take advantage of the features of JDK 1.4.2, your applications |
| 31 |
require different class path entries than those that were used in previous |
31 |
require different class path entries than those that were used in previous |
|
Lines 56-62
Link Here
|
| 56 |
for the resulting projects. The list of target servers that you can choose |
56 |
for the resulting projects. The list of target servers that you can choose |
| 57 |
from is filtered based on installed runtimes, the J2EE level of the application, |
57 |
from is filtered based on installed runtimes, the J2EE level of the application, |
| 58 |
and the J2EE module type. For example, for EJB projects only application servers |
58 |
and the J2EE module type. For example, for EJB projects only application servers |
| 59 |
that support Enterprise JavaBeans⢠are displayed. All projects |
59 |
that support Enterprise JavaBeans are displayed. All projects |
| 60 |
inside a single EAR file must be targeted to the same server. If you create |
60 |
inside a single EAR file must be targeted to the same server. If you create |
| 61 |
a new project and add it to an existing EAR project during creation, the project |
61 |
a new project and add it to an existing EAR project during creation, the project |
| 62 |
inherits the target server setting of the EAR project.</p> |
62 |
inherits the target server setting of the EAR project.</p> |
|
Lines 70-93
Link Here
|
| 70 |
<ol><li class="stepexpand"><span>In the Project Explorer view of the J2EE perspective, right-click |
70 |
<ol><li class="stepexpand"><span>In the Project Explorer view of the J2EE perspective, right-click |
| 71 |
the enterprise application or module project, and select <span class="uicontrol">Properties</span> from |
71 |
the enterprise application or module project, and select <span class="uicontrol">Properties</span> from |
| 72 |
the pop-up menu.</span> The Properties dialog for the project opens.</li> |
72 |
the pop-up menu.</span> The Properties dialog for the project opens.</li> |
| 73 |
<li class="stepexpand"><span>Select the <span class="uicontrol">Project Facets</span> page on the Properties |
73 |
<li class="stepexpand"><span>Select the <span class="uicontrol">Targeted Runtimes</span> page on the |
| 74 |
dialog.</span></li> |
74 |
Properties dialog.</span></li> |
| 75 |
<li class="stepexpand"><span>Click the <span class="uicontrol">Add/Remove Project Facets</span> button.</span></li> |
|
|
| 76 |
<li class="stepexpand"><span>In the Select Project Facets window, click the <span class="uicontrol">Show |
| 77 |
Runtimes</span> button.</span> The <span class="uicontrol">Runtimes</span> list |
| 78 |
shows all of the runtimes in your workspace. The grayed-out runtimes are not |
| 79 |
compatible with the currently selected project facets. The runtime in bold, |
| 80 |
if there is one, is the preferred runtime for the project.</li> |
| 81 |
<li class="stepexpand"><span>In the <span class="uicontrol">Runtimes</span> list, select the check boxes |
75 |
<li class="stepexpand"><span>In the <span class="uicontrol">Runtimes</span> list, select the check boxes |
| 82 |
next to the runtimes you want to develop the project for.</span> The runtimes |
76 |
next to each of the runtimes that you want to develop the project for.</span> <p>Only the runtimes compatible with the project's facets are shown. |
| 83 |
you select filter the list of available facets in the <span class="uicontrol">Project Facet</span> list.<p>If |
77 |
You can select the <span class="uicontrol">Show all runtimes</span> check box to display |
| 84 |
you select any runtimes for the project, you must make one of those runtimes |
78 |
the runtimes not compatible with the project's current facet configuration. |
| 85 |
the preferred runtime for the project. If you select only one runtime from |
79 |
These runtimes are grayed out.</p> |
| 86 |
the list, that runtime is automatically made the preferred runtime.</p> |
80 |
<p>If you don't see the runtime that you |
|
|
81 |
want to use, you need to add it to the runtimes in the workbench. See <a href="../org.eclipse.wst.server.ui.doc.user/topics/twinstprf.html">Defining the installed server runtime environments</a>.</p> |
| 82 |
</li> |
| 83 |
<li class="stepexpand"><span>To select the primary runtime, click on a runtime and then click |
| 84 |
the <span class="uicontrol">Make Primary</span> button.</span> <p>If you select |
| 85 |
any runtimes for the project, you must make one of those runtimes the primary |
| 86 |
runtime for the project. If you select only one runtime from the list, that |
| 87 |
runtime is automatically made the primary runtime. The primary runtime is |
| 88 |
shown in bold text.</p> |
| 87 |
</li> |
89 |
</li> |
| 88 |
<li class="stepexpand"><span>To select the preferred runtime, click on a runtime and then click |
|
|
| 89 |
the <span class="uicontrol">Make Preferred</span> button.</span> The preferred |
| 90 |
runtime is shown in bold text.</li> |
| 91 |
<li class="stepexpand"><span>Click <span class="uicontrol">Finish</span>.</span></li> |
90 |
<li class="stepexpand"><span>Click <span class="uicontrol">Finish</span>.</span></li> |
| 92 |
<li class="stepexpand"><span>Click <span class="uicontrol">OK</span>.</span></li> |
91 |
<li class="stepexpand"><span>Click <span class="uicontrol">OK</span>.</span></li> |
| 93 |
</ol> |
92 |
</ol> |
|
Lines 99-103
Link Here
|
| 99 |
<div class="relconcepts"><strong>Related concepts</strong><br /> |
98 |
<div class="relconcepts"><strong>Related concepts</strong><br /> |
| 100 |
<div><a href="../topics/cjarch.html" title="The Java 2 Platform, Enterprise Edition (J2EE) provides a standard for developing multitier, enterprise services.">J2EE architecture</a></div> |
99 |
<div><a href="../topics/cjarch.html" title="The Java 2 Platform, Enterprise Edition (J2EE) provides a standard for developing multitier, enterprise services.">J2EE architecture</a></div> |
| 101 |
</div> |
100 |
</div> |
| 102 |
</div></body> |
101 |
<div><strong>Related information</strong><div><a href="../../org.eclipse.wst.server.ui.doc.user/topics/twinstprf.html">Defining the installed server runtime environments</a></div> |
|
|
102 |
</div></div></body> |
| 103 |
</html> |
103 |
</html> |