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. Click Download additional server adapters.

    This opens the Install New Extension dialog box.

  4. Click JBossAS Tools, and then click Next.
  5. Accept the license agreement and click Finish.
  6. Click OK.
  7. Click OK on any security warnings.
  8. Click Yes to restart Eclipse.

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 Apply, and then OK.

Micro Focus COBOL Runtime

The JVM Micro Focus COBOL Runtime is contained in the Micro Focus COBOL install directory, in %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 Apply, and then click OK.
  5. Click Window > Preferences > Web Services > Server and Runtime.
  6. In the Web service runtime list, click Apache Axis2.
  7. Click Apply, and then click OK.

Source files

  1. On the Micro Focus Community Web site, click Download file.
  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>.