To ensure that the deployment process runs smoothly, we must set some options that tell
Enterprise Developer what application server to use and where to find certain files.
- From the
COBOL Explorer, right-click the
IMTKTutorial service interface; then click
Properties.
- On the
General tab, click
EJB Generation (default).
- On the
Deployment Server tab, click the
Change button that corresponds to the
Enterprise Server name field.
- Select
ESDEMO; then click
OK.
- On the
Application Files tab, click
Legacy application needs deploying; then click
Add Files to add the following files:
File
|
Location
|
bookfile.dat
|
Your project's
IMTKTutorial folder
|
bookfile.idx
|
Your project's
IMTKTutorial folder
|
book.dll
|
Your project's
IMTKTutorialNew_Configuration.bin folder
|
These files are copied to the enterprise server when you deploy. The
.dll is the executable file you need to debug the service. The
.dat and
.idx files are the data and index parts of the indexed file accessed by the service.
- On the
EJB Generation tab, use the drop-down lists to set the
Application Server to
JEE 5 and
JBOSS 5.1.0 (Java5).
- Also on the
EJB Generation tab, click the
Browse button that corresponds to the
J2EE Class Path field and add the following files, all of which are located in your JBoss installation's
common\lib folder:
-
jboss-javaee.jar
-
jboss-jca.jar
-
servlet-api.jar
These are your EJB connector classes.