Show TOC

Procedure documentationDeveloping Business Logic with EJB 3.0 Locate this document in the navigation structure

 

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

Procedure

  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:

  3. Implement the business logic.

    You can use the following features:

  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 Remote Clients

  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. (Optional) You can use business logic that is part of SAP NetWeaver 2004 AS Java or SAP NetWeaver 7.0 AS Java.

    More information: Connecting to Enterprise Beans on SAP NetWeaver 2004 AS Java and SAP NetWeaver 7.0 AS Java

  8. If you have not done so initially, add the EJB 3.0 Project to an Enterprise Application.

    More information: Creating Enterprise Application Projects