blob: 86fbd8cd2ae1877fa2af9ca18ae483e199f9d3cb [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../../../wtp.xsl"?>
<html>
<head>
<meta name="root" content="../../../../.." />
<title>
test plan: To test the publishable results from the J2EE Deployable
</title>
</head>
<body>
<h1>jst j2ee</h1>
<h2>Intoduction</h2>
<p>
This test case walkthroughs the steps required to verify the output
from the J2EE Deployable members method.
</p>
<BR />
<h2>Steps</h2>
<p>
<ol>
<li>
First set up JONAS Runtime from the
Windows->Preferences->Server->Installed Runtime.
<br />
<br />
<img border="0"
src="images/SettingJonas_runtime.jpg" />
<br />
<br />
<i>
Figure 1: Setup the JONAS Runtime from
Windows->Preferences->Server->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>
<h2>Repeat the steps with the following EJB project... </h2>
<A href="resource/TestEjb.zip" target="_blank">TestEjb.zip</A>
</body>
</html>