Create an EJB Service Interface

Walks you through the process of creating a Java Enterprise Java Bean (EJB) service interface for the BookDemo application.

Create a Java Interface type service interface for the BookDemo application.

  1. In the Application Explorer view, right-click the ProgramEJB project; then select New > Other from the context menu.
  2. Expand Micro Focus Service Interface, and select Java Interface; then click Next.
  3. In the Java interface name field, type AccessBooks.
  4. Select None as the Mapping option.
  5. Click the Browse button associated with Program to map.

    This opens the COBOL Source File dialog box.

  6. Navigate to the book.cbl file in your ProgramEJB project folder.
  7. Click OK.
  8. Click Finish.

    This starts the Interface Mapper.