Create the AccessBooks Service Interface

Walks you through the process of creating a Java Enterprise Java Bean (EJB) service interface for the BookDemo application.
Restriction: This topic applies to Windows environments only.

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 > Interface > Java Interface from the context menu.
  2. In the Java interface name field, type AccessBooks.
  3. Select None as the Mapping option.
  4. Click the Browse button associated with Program to map.

    This opens the COBOL Source File dialog box.

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

    This starts the Interface Mapper.