Previous Topic Next topic Print topic


Create a Service Interface

Walks you through the process of creating a service interface for the BookDemo application.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
Restriction: This topic applies to Windows environments (local development) only.

Create a Java type service interface (EJB) that uses the source program book.cbl:

  1. In the COBOL Explorer, 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 ProgramEJB.
  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.

Previous Topic Next topic Print topic