blob: 70d71714197bae363669b6436462e4731bc31974 [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: J2EE WTP Smoke Test.</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: J2EE WTP Smoke Test.</font></td><td width="40%"><img width="120" hspace="50" height="86" align="middle" src="../../../../../images/Idea.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 performs an overview of the functionality delivered by the j2ee component
</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>
Import EJB: Import customerEjb.jar
<table cellspacing="10" cellpadding="10">
<tr>
<td>
<img src="images/ejbimport.JPG">
</td>
</tr>
</table>
</li>
<br>
<br>
<li>
You will see EJB module wizard
<table cellspacing="10" cellpadding="10">
<tr>
<td>
<p>
<img src="images/ejbcomponent2.JPG">
</p>
</td>
</tr>
</table>
If this is the first time you are creating a module and you dont have any
project created, create a project by clicking on the "New" button, or if you already have
a project and you want to create the EJB module in this project, choose one.
<table cellspacing="10" cellpadding="10">
<tr>
<td>
<p>
<img src="images/createFlexibleProject.JPG">
</p>
</td>
</tr>
</table>
</li>
<br>
<br>
<li>
Create the EJB module name "EJBModule", you will see that by default
"Add Module to an EAR application" is checked and the name is defaulted to
"EJBModuleEAR", this will create an EAR module in the same project as the EJB module
which in this case would be "TestProject". Also notice that "Create an EJb Client Jar module
to hold the client interfaces and classes" is also checked, this will create an EJB client module
named "EJBModuleClient" in the project named "EJBModuleClient"
<table cellspacing="10" cellpadding="10">
<tr>
<td>
<img src="images/ejbcomponent3.JPG">
</td>
</tr>
</table>
</li>
<br>
<br>
<li>
Verify that in the .wtpmodule file of the TestProject
<ul>
<li> The workbench module "EJBModule" exists</li>
<li> The workbench module "EJBModuleEAR" exists</li>
<li>The "EJBModuleClient" module is dependent module of the "EJBModule"</li>
<li>The "EJBModule" and the "EJBModuleClient" are the dependent modules of the
"EJBModuleEAR"</li>
</ul>
</li>
<br>
<br>
<li>
Verify that in the .wtpmodule file of the EJBModuleClient
<ul>
<li> The workbench module "EJBModuleClient" exists</li>
</ul>
</li>
<br>
<br>
<li>
Verify that in the EJBModule deployment descriptor there is an entry EJBModuleClient.jar
in the &lt;ejb-client-jar&gt;
</li>
<br>
<br>
<li>
Verify that in the EJBModuleEAR deployment descriptor there is an entry EJBModule.jar
in the &lt;module&gt; section
</li>
<br>
<br>
<li>
Build the modules, you will notice .deployables folder created in the projects.
Verify that you see following
<table cellspacing="10" cellpadding="10">
<tr>
<td>
<img src="images/ejbcomponent4.JPG">
</td>
</tr>
</table>
</li>
</ol>
</p>
</td>
</tr>
</tbody>
</table>
</body>
</html>