Skip to Content
Designing and Programming CICS Applications
book

Designing and Programming CICS Applications

by John Horswill, Members of the CICS Development Team at IBM Hursley
July 2000
Intermediate to advanced
414 pages
9h 41m
English
O'Reilly Media, Inc.
Content preview from Designing and Programming CICS Applications

Chapter 15. Programming the MQSeries-CICS Bridge

In this chapter:

This chapter describes the process of building the Java GUI and the coding of the application. In addition, it describes the way to set up communication between MQSeries for Windows NT and MQSeries for OS/390.

Building the Java GUI

The Java GUI has been written in Swing, which provides a larger set of components and which can produce more aesthetically pleasing results than the Java Abstract Window Toolkit (AWT). Swing is a subset of Java Version 1.2, which is used to develop GUIs. In particular, the JTable object used in Swing has been used to create the main panel. The JTable for the main panel is set up in MQClient.java. Within this class, the menu bar (instance of JMenuBar) and associated controls are created. The data entry area consists of a combination box (instance of JCombo) and a click button (instance of Jbutton) to submit the request. The results are displayed within a panel (instance of JPanel) where a four-section grid layout, as described in Designing the Graphical User Interface in Chapter 14, is used. The full source code can be found in the MQSeries-Java Client directory on the CD that accompanies this book.

The Java GUI has deliberately been kept simple. The main purpose of this application is to show the mechanism used to obtain data from a CICS program using MQSeries messaging.

Tip

If you want to know more about ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ABCs of IBM z/OS System Programming Volume 1

ABCs of IBM z/OS System Programming Volume 1

Karan Singh, Paul Rogers
ABCs of IBM z/OS System Programming Volume 1

ABCs of IBM z/OS System Programming Volume 1

Lydia Parziale, Luiz Fadel, Stanley Jon
Application Development for IBM CICS Web Services

Application Development for IBM CICS Web Services

James O'Grady, Ian Burnett, Jim Harrison, San Yong Liu, Xue Yong Zhang
Architect's Guide to IBM CICS on System z

Architect's Guide to IBM CICS on System z

Phil Wakelin, Ahmed Farrag, Steve Hobson, Manuel Jaen, Tommy Joergensen, Thiago Rotta

Publisher Resources

ISBN: 9781449311933Errata Page