Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EJB Test Plan/Session Bean Wizard"

(New page: Functional tests for the Session Bean wizard. == Prerequisites == * Java EE 5 compatible runtime installed * EAR 5 project created == Create Default Session Bean == # Open the Java EE...)
 
Line 17: Line 17:
 
#* State type must be Stateless by default
 
#* State type must be Stateless by default
 
#* Check whether only "Create Business Interface > Local" is checked by default and leave it checked
 
#* Check whether only "Create Business Interface > Local" is checked by default and leave it checked
 +
#* [[Image:Session_bean_01.png]]
 
#* go to next page
 
#* go to next page
 
#* Check whether in Business Interfaces section only TestBeanLocal interface is shown.
 
#* Check whether in Business Interfaces section only TestBeanLocal interface is shown.

Revision as of 04:49, 3 July 2008

Functional tests for the Session Bean wizard.

Prerequisites

  • Java EE 5 compatible runtime installed
  • EAR 5 project created

Create Default Session Bean

  1. Open the Java EE perspective.
  2. Create One EJB Project 3.0 and add it to the EAR.
  3. Create a new Session Bean:
    • for Java package enter some String that starts with a number, or has some symbols (except _ ). There should be an error: Invalid Java package name…
    • enter "test" for Java package
    • for Class name enter some String that starts with a number, or has some symbols (except _ ). There should be an error: Invalid Java class name. Next and Finish buttons are disabled
    • enter "TestBean" for Class name
    • State type must be Stateless by default
    • Check whether only "Create Business Interface > Local" is checked by default and leave it checked
    • Session bean 01.png
    • go to next page
    • Check whether in Business Interfaces section only TestBeanLocal interface is shown.
    • Leave the Inherited abstract methods and Constructors from superclass checkboxes checked.
    • press Finish

<< add more steps >>

Create Session Bean with addition Business Interfaces

<< more test >>

Copyright © Eclipse Foundation, Inc. All Rights Reserved.