< Previous

Create a J2C application for an IMS transaction containing variable length and multiple segments: summary

This tutorial guided you through the detailed steps to generate a J2C application that processes variable length and multiple segment IMS™ transaction output messages.

Lessons learned

In this tutorial, you learned how to

  • Use the J2C Java™ Bean wizard to create a J2C Java bean that runs an IMS transaction.
  • Create a message buffer class, CCIBuffer.java, and edit this class using doclet annotations.
  • Create a method for the J2C Java bean to run the IMS transaction and provide input and output data types for the method.
  • Create Java data bindings for the segments of the output message.
  • Create a test Java class, TestMultiSeg.java, to invoke the J2C Java bean method that runs the IMS transaction, then populate the output segments from the buffer of data returned by the IMS transaction.