We are creating a Java type service interface (EJB) that uses the source program book.cbl.
- From the Solution Explorer, right-click the ProgramEJB project; then click Add > New Item.
- Under Categories:, expand Native and click Mainframe Subsystem.
- Under Templates:, click Service Interface.
- In the Name field, type ProgramEJB; then click Add.
- Select Java Interface as your type of interface and COBOL Program as your type of source; then click OK.
At this point, Visual Studio adds the ProgramEJB service interface to the Solution Explorer and invokes the Service Interfaces Editor. We are ready to define the details of the service interface.