EJB components are an essential part of Java EE applications. In the SAP NetWeaver Developer Studio, you create EJB 3.0 components (as of the Java EE 5 specification) in EJB 3.0 Projects.
More information: EJB Overview
...
1. Create an EJB 3.0 Project.
More information: Creating EJB 3.0 Projects in the Developer Studio.
2. Use the corresponding wizards to create enterprise beans and helper classes.
More information: Creating Session Beans in the Developer Studio and Creating Message-Driven Beans in the Developer Studio.
3. Implement the source code.
You can use the following features:
○ (Optional) Use dependency injection to use external resources.
More information: Using Dependency Injection
○ (Optional) Change the default transaction configuration in which the EJB runs.
More information: Specifying Transaction Attributes
○ (Optional) Specify the security roles that are allowed to invoke the EJB methods using the security-related metadata annotations.
More information: Specifying Security
○ (Optional) Program and configure the business interceptor method or life cycle callback interceptor method.
More information: Using Interceptors and Life Cycle Callbacks
○ (Optional) Use Java Persistence API.
More information: Using Java Persistence API (JPA)
○ (Optional) Expose your Enterprise JavaBeans as Web service endpoints.
More information: Using Enterprise JavaBeans as Web Service Endpoints
4. (Optional) Edit the EJB deployment descriptors to configure the application.
More information: Editing the ejb-j2ee-engine.xml.
5. (Optional) Access Enterprise JavaBeans from non-Java EE applications.
More information: Accessing Enterprise JavaBeans from Non-Java EE Applications
6. (Optional) If you want to provide methods to allow callbacks to be scheduled for time-based events, use the EJB Timer service.
More information: Using Timers
7. If you have not done so initially, add the EJB 3.0 Project to an Enterprise Application.
More information: Creating Enterprise Application 5 Projects.