Test Case Create an EJB Project (jar file), then run with Glassfish Server
Description: This test case walkthroughs the steps required to create an EJB Module

Procedure

  1.  Create a new EJB Project (named as TestEJBModule) > select Appropriated Glassfish Server at the EJB Creation Wizard
 


 
  2.  Right-click at the TestEJBModule > select New > Session Bean to add a Stateless Session to EJB module



  
   3. Right-click on the project > select Run As to run with Glassfish Server
  


 
   4. From a browser access to Admin GUI Console
   5. Expand Applications > EJB Module , you should see the application listed under EJB module 
   6. Click Descriptor to verify

Verify:
       -No error occurs to create the EJB Module Project  > No error for Session Bean creation
       -The EJB Stateless Session Bean should be created and deployed successfully