Prerequisites

You must install and configure the following in order to complete this tutorial:
  • This tutorial requires your projects to target Java 7.
  • JBossAS Tools, a server adapter that enables Eclipse to manage the JBoss Application Server.
  • JBoss Application Server 7.1.1, for hosting web services.
  • Apache Axis2 1.6.4, a tool to generate server and client code to handle web services protocols.
  • The JVM Micro Focus COBOL Runtime.
  • You also need to download from the Micro Focus Community Web site a .zip file containing source files.

JBossAS Tools

Before installing JBoss Application Server you must download and install the JBossAS Tools server adapter:
  1. Click Window > Preferences > Server > Runtime Environments.
  2. Click Add.

    This opens the New Server Runtime Environment dialog box.

  3. Expand Red Hat JBoss Middleware.
  4. Click JBoss AS, WildFly, & EAP Server Tools, and then click Next.
  5. Accept the license agreement, and then click Finish.
  6. If you are presented with a security warning about unsigned content, ignore it by clicking OK.
  7. Click Yes to restart Eclipse.
    Note: If this is the first time the workspace settings have been changed then Eclipse might prompt you to store preference information.

JBoss 7.1

Click here to download JBoss AS 7.1.1.Final. Save the jboss-as-7.1.1.Final.zip file and extract its content into a directory.

You need to configure JBoss for each new workspace:

  1. Start Eclipse.
  2. Click Window > Preferences > Web Services > Server and Runtime
  3. In the Server runtime list, click JBoss AS 7.1.
  4. Click OK.

Micro Focus COBOL Runtime

The JVM Micro Focus COBOL Runtime (mfcobolrts.jar) is located by default in the Micro Focus COBOL install directory %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\bin (Windows) or $COBDIR/bin (UNIX).

The COBOL Runtime file must be added to the Deployment Assembly later in the tutorial.

Axis2

To download Axis2:

  1. Click here to download Axis2.
  2. Click axis2-1.6.4-bin.zip, and download from a suitable mirror site.
  3. Extract into a directory.

You need to configure Axis2 for each new workspace in Enterprise Developer:

  1. Click Window > Preferences > Web Services > Axis2 Preferences.
  2. On the Axis2 Runtime tab, click Browse and navigate to the Axis2 top-level folder.
  3. Click OK.
  4. Click OK.
  5. Click Window > Preferences > Web Services > Server and Runtime.
  6. In the Web service runtime list, click Apache Axis2.
  7. Click OK.

Source files

  1. On the Micro Focus Community Web site, click Download.
  2. Save the .zip file and extract its content into a directory.
    Note: The extract directory is referred to in this tutorial as <tutorial_source_folder>.