In JDeveloper's IDE, you can quickly create a runnable session bean, and create business methods declaratively.
To begin creating a session bean, you will open the Create Session Bean wizard. To open the wizard, in the Application Navigator, right click a project and choose New . In the New Gallery, expand Business Tier and select EJB in the Categories tree and select Session Bean from the Items list, and click OK.
Use the Create Session Bean wizard to add a session bean to your project. In the wizard, you will be selecting Enterprise JavaBeans 3.0 (Java EE 5.0) as the EJB version.
In the example, you will be creating a stateless session bean that is hosted in an EJB container.
Copyright © 1997, 2009, Oracle. All rights reserved.