Walks you through the process of creating the ProgramEJB solution and project for the BookDemo application.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
Create the ProgramEJB project
- In Visual Studio, click
.
- In the
Create a new project dialog box, select
COBOL from the
Language drop-down list.
- In the two remaining drop-down lists, select
Windows and
Enterprise Server respectively.
- Select
Enterprise Server Application.
- Click
Next.
- Complete the
Name and
Location fields as follows:
Name
|
ProgramEJB
By default, this is the name of both the project and the solution.
|
Location
|
c:\tutorials\IMTK
|
- Check
Place solution and project in the same directory.
- Click
Create.
Visual Studio opens the
Solution Explorer for the
ProgramEJB solution, showing the
ProgramEJB project.
Add BookDemo demonstration files to the project
- Right-click the
ProgramEJB project, and select
Add >
Existing Item from the context menu.
- Browse to the
%PUBLIC%\Documents\Micro Focus\Visual COBOL\Samples\Interface Mapping Toolkit\ServiceInterfaces\BookDemo folder.
- From the drop-down list, click
All files (*.*), and then select the following files:
-
book.cbl
-
book-rec.cpy
-
bookfile.dat
-
bookfile.idx
- Click
Add.
Save the ProgramEJB project
- In the
Solution Explorer, select the
ProgramEJB project, and then click
File > Save ProgramEJB on the Visual Studio main menu.