blob: 27ce68b48de5b917c88615b6b6ccf1f675a74a5e [file] [log] [blame]
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../../../../../default_style.css" type="text/css">
<link rel="stylesheet" href="../../../../../webtools/wtp.css" type="text/css">
<title>
test plan: To test the publishable results from the J2EE Deployable
</title>
</head>
<body>
<table width="100%" cellspacing="5" cellpadding="2" border="0">
<tbody>
<tr>
<td width="60%" align="left"><font class="indextop">jst j2ee</font>
<br>
<font class="indexsub">
test plan: To test the publishable results from the J2EE Deployable
</font></td><td width="40%"><img width="207" hspace="50" height="129" align="middle" src="../../../../../webtools/images/wtplogosmall.jpg"></td>
</tr>
</tbody>
</table>
<table width="100%" cellspacing="5" cellpadding="2" border="0">
<col width="16">
<col width="*">
<tbody>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Intoduction</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
This test case walkthroughs the steps required to verify the output
from the J2EE Deployable members method.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<BR>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Steps</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
<ol>
<li>
First set up JONAS Runtime from the
Windows-&gt;Preferences-&gt;Server-&gt;Installed Runtime.
<br>
<br>
<img border="0" src="images/SettingJonas_runtime.jpg">
<br>
<br>
<i>
Figure 1: Setup the JONAS Runtime from
Windows-&gt;Preferences-&gt;Server-&gt;Installed Runtime.
</i>
</li>
<br>
<br>
<li>
Open J2EE perspective, in the Navigator, right click
and choose "Import" and then choose "Archive"
<table cellspacing="10" cellpadding="10">
<tr>
<td>
<img src="images/howto_open_perspective_view.jpg">
</td>
<td>
<img src="images/perspective_view.jpg">
</td>
</tr>
<tr>
<td colspan="2">
<p>
<i>
Figure 2: Open the J2EE
Perspective.
</i>
</p>
</td>
</tr>
</table>
<table cellspacing="10" cellpadding="10">
<tr>
<td>
<p>
<i>
Figure 3: Download the following Web project.
<A href="resource/TestWeb.zip" target="_blank">TestWeb.zip</A>.
Navigate via the browse button and select this zip from disk.
Set a Project Name, select your Target runtime,
and click finish.
</i>
</p>
</td>
</tr>
</table>
</li>
<br>
<br>
<li>
Go to the project in the Project Explorer, and expand
to verify all files were imported correctly. Now select to run on server.
<br>
<br>
After that finishes, go to verify the content in the published directory in
the server tools. Verify that there is only one web-inf folder and that it
contains files from both web content folders. Ensure all java is there and
verify the imported_classes are placed in webInf/classes.
</li>
<br>
</ol>
</p>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Repeat the steps with the following EJB project... </font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top"><A href="resource/TestEjb.zip" target="_blank">TestEjb.zip</A></td>
</tr>
</tbody>
</table>
</body>
</html>