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.
- From the
Solution Explorer, right-click the
ProgramEJB project; then click
Add > New Item.
- Expand
COBOL; then select
Native.
- In the center pane, click
Service Interface.
- In the
Name field, type
AccessBooks.
- 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
AccessBooks service interface to the Solution Explorer and invokes the Interface Mapper. You are ready to define the details of the Java
interface.