Creating J2C Applications

You can use the J2C wizards to create J2EE Connector applications.

If you do not see the J2EE icon, J2EE perspective icon, in the top right tab of the workspace, you need to switch to the J2EE perspective.

J2C Wizards

The J2C wizards allow you to create J2EE Connector applications. A typical J2C application consists of a J2C Java™ bean with one or more methods that call EIS functions. For CICS® and IMS™, the input and outputs to these functions are data binding classes that are created by the CICS/IMS Java Data Binding Wizard. Once you have created a J2C Java bean, you can then create Web pages, an EJB or a Web Service for your J2C Java bean.
Process for creating a J2C application The process of using the J2C tools to build a Java application that runs an EIS transaction is summarized in these steps:
  1. Java Data Binding wizard Use the Java Data Binding wizard to create a record bean that contains Java data bindings for input and output messages. . The wizard uses the C or COBOL definitions of the EIS transaction's input and output messages to map to Java data structures.
  2. J2C Java bean wizard Use the J2C Java bean wizard to create a J2C Java bean. You can use the wizard to add Java methods that use the data binding beans created in the previous step. These methods run EIS transactions on the host. Alternatively, you can add Java methods later to the J2C Java bean using the Snippets view.
  3. Web Page, Web Service, or EJB from J2C Java Bean wizard Use the Web Page, Web Service, or EJB from J2C Java Bean wizard to create a J2EE resource that can be deployed to WebSphere Application Server and used to run your EIS transactions.
  4. WebSphere Application Server test environment You can test the J2EE resource directly from the development environment using the WebSphere test environment. You can also run the application on a stand alone WebSphere Application Server.

Using the J2C wizards

  1. To use the J2C wizards from the menu bar, select File > New > Other > J2C.
    Note: If you do not see the J2C option in the wizard list, you need to Enable J2C Capabilities.
  2. You then can select the J2C wizard you want to launch.
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.