Set Deployment Properties

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.

  1. From the COBOL Explorer, right-click the IMTKTutorial service interface; then click Properties.
  2. On the General tab, click EJB Generation (default).
  3. On the Deployment Server tab, click the Change button that corresponds to the Enterprise Server name field.
  4. Select ESDEMO; then click OK.
  5. 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.

  6. On the EJB Generation tab, use the drop-down lists to set the Application Server to JEE 5 and JBOSS 5.1.0 (Java5).
  7. 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.