You must install and configure the following in order to complete this tutorial:
- This tutorial requires your projects to target Java 8.
- JBoss Tools, a plugin that enables Eclipse to manage the JBoss Runtime.
- JBoss EAP 6.4, for hosting Web services.
- Apache Axis2 1.7.8, 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.
JBoss Tools
Before installing JBoss Runtime you must download and install the JBoss Tools from the Eclipse Marketplace:
- Click
This opens the
Eclipse Marketplace dialog box.
- In the
Find field, type
JBoss Tools, and then press
Enter.
- Find the
JBoss Tools 4.5.3.Final plugin in the returned results list, and then click
Install.
- In the
Confirm Selected Features page, click
Confirm.
- Accept the license agreement, and then click
Finish.
If you receive a security warning, click
Install anyway.
- When prompted to restart Eclipse, click
Restart Now.
Note: If this is the first time the workspace settings have been changed then Eclipse might prompt you to store preference information.
JBoss
Download and install JBoss EAP
- In a browser, open the
3.3. DOWNLOAD AND INSTALL JBOSS EAP USING THE ZIP page located on the Red Hat Web site.
- Follow the instructions provided to download and install the Red Hat JBoss Enterprise Application Platform. See
Additional Software Requirements for more information on supported versions.
Note: This download might require a Red Hat subscription.
Install JBOSS AS tools in Eclipse
To enable Eclipse to manage JBoss Application Server, you need to add the server runtime environment:
- Start Eclipse.
- Click
.
- Click
Add.
This opens the
New Server Runtime Environment dialog box.
- Expand
Red Hat JBoss Middleware, and then click
Red Hat JBoss Enterprise Application Platform 7.1 Runtime.
- Click
Next.
This opens the
New Server Runtime Environment dialog box.
- Next to the
Home Directory field, click
Browse, and then select the folder containing JBoss EAP.
- Click
OK.
- Ensure that you are using a Java 8 JRE runtime.
- Click
Finish.
- Click
Apply and Close.
Configure JBoss for each new workspace
- Start Eclipse.
- Click
- In the
Server runtime list, click
JBoss
version.
- 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:
- Click
here to download Axis2.
- Click
axis2-1.7.8-bin.zip, and download from a suitable mirror site.
- Extract into a directory.
You need to configure Axis2 for each new workspace in
Enterprise Developer:
- Click
.
- On the
Axis2 Runtime tab, click
Browse and navigate to the Axis2 top-level folder.
- Click
Apply and Close.
- Click
.
- In the
Web service runtime list, click
Apache Axis2.
- Click
Apply and Close.
Source files
- On the
Micro Focus Community Web site, click
Download.
- 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>.