Before you start
Learn what to expect from this tutorial and how to get the most out of it.
Important Note: Work through this scenario and others as part of the Enterprise Modernization Sandbox for IBM i.
This tutorial teaches you how to use IBM® Rational® Host Access Transformation Services (HATS) tools to create a Web service that exposes logic contained in an IBM® System i™ 5250 application. You will learn how to create a HATS project, record a macro to navigate through the screens of the transaction, generate a Java™Beans technology wrapper for the macro, and to create a Web service by using the tooling provided in the Rational Software Delivery Platform. After the Web service is built, you will learn how to use the Web Services Explorer to test the service.
- Use the Rational HATS Toolkit to create a Web project capable of containing a Web service
- Use the HATS Host Terminal to record a macro
- Use the Visual Macro Editor to enhance a macro
- Create an Integration Object Java™ class that drives the macro
- Create a Web service that calls the Integration Object
- Test the Web service in the Web Services Explorer
- Basic IDE skills
- Basic understanding of terminal applications
- IBM Rational Application Developer Version 18.104.22.168 or later
- IBM Rational Host Access Transformation Services (HATS) Version 7.1 with the Visual Macro Editor technology preview component
- Internet connection
- macro. Automates interactions with the host. Macros can send commands to the host, enter data into entry fields, extract data from the host, and be used to navigate screens on behalf of the user. Macros are created in either the HATS Host Terminal or the Visual Macro Editor.
- Integration Object. A Java bean that encapsulates an interaction with a host screen or a series of host screens. Integration Objects are constructed from macros and can be included in Web services or HATS Enterprise JavaBeans (EJB) projects.
- Web service. An operation that can be published, located, and invoked programmatically over the Web. A HATS Web service drives a HATS Integration Object, which invokes a HATS macro.