Skip to main content


developerWorks  >  WebSphere | Rational  >

Using WebSphere Developer for System z version 7 to connect to CICS

An example using J2EE Connectors, CICS Transaction Gateway and TXSeries

developerWorks

Level: Introductory

Reginaldo Barosa (rbarosa@us.ibm.com), Senior Certified Application Development Specialist, IBM

11 Jul 2007

Register now or sign in using your IBM ID and password.

This tutorial teaches you how to use WebSphere® Developer for System z™ to create and test Java™ code accessing CICS® (TXSeries® ) that runs in the workstation, without having to deploy to the mainframe.

Objectives

  • Create Java code that connects to an existing COBOL/CICS program using the J2EE connectors (J2C) tools available with Rational Application Developer v7.0.

  • Create a simple JSP test client and a Web service to invoke the Java code.

  • Test the code using IBM CICS Transaction Gateway and IBM TXSeries available with WebSphere Developer for System z v7.0.0.1.

Prerequisites

This tutorial is written for CICS and COBOL programmers who need to access legacy applications. You don't need Java skills to take this tutorial.


System requirements

  • WebSphere Developer for zSeries v7.0.0.1, with the following options installed:
    • J2EE Connectors
    • IBM CICS Transaction Gateway for Multiplatforms
    • IBM TXSeries for Multiplatforms
    • IBM DB2 Universal Database Enterprise Server Edition v7 or higher

To view the demos included in this tutorial, JavaScript must be enabled in your browser and Macromedia Flash Player 6 or higher must be installed. You can download the latest Flash Player at http://www.macromedia.com/go/getflashplayer/.


Duration

2 hours


Formats

pdf, swf


Summary

Many companies have large investments in legacy COBOL/CICS applications, which they now need to integrate with Java systems running under Web application servers. Many technologies can assist with this integration; this tutorial shows how to use the J2EE Connector Architecture (JCA) tools.

We show how to code Java classes that connect to an existing COBOL/CICS program using the J2EE Connectors (J2C) tools available on Rational Application Developer for WebSphere Software Version 7.0.0.1 and test it using IBM CICS Transaction Gateway for Multiplatforms (CTG) and IBM TXSeries for Multiplatforms that is delivered with WebSphere Developer for System z (WebSphere Developer) Version 7.0.0.1.

You could create the connectors with Rational Application Developer only, but you would not be able to test it. The advantage of using WebSphere Developer is the capability to test the code in the workstation. Since WebSphere Developer is installed on top of Rational Application Developer, all capabilities of Rational Application Developer are available on WebSphere Developer. In this tutorial, you create a simple JSP test client and a Web service that each invoke your new Java bean.

We also use animated examples to demonstrate specific development tasks in action.

Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community