Creating an MFS-based conversational application

The IMS™ TM Resource Adapter v. 10.20 RAR contains the convID, useConvID and convEnded properties in the interactionSpec, and these properties can be used to support conversational applications.

Before you begin

When you expose conversation properties in the interactionSpec, you need to expose these three properties altogether:

Procedure

  1. Select File > New > Other > J2C > J2C Bean, and click Next.
  2. On the Resource Adapter Selection page, select IMS TM Resource Adapter (10.5.0).
  3. On the Connector Import page, select WebSphere® Application Server v7.0, and click Next.
  4. On the Adapter Style page, select Outbound, and click Next.
  5. On the Scenario Selection page, select IMS MFS-based applications, and click Next.
  6. On the Discovery Configuration page, click Add
  7. Browse to locate your MFS file, and click Open, and clickNext.
  8. On the Object Discovery and Selection page, select the objects to be imported. On the left panel, expand the object nodes to select subcategories, and once you have made your select, click the Add icon in the middle. Your selections appear in the right panel.
  9. On the Configuration Parameters page, select an object discovered from the query.
    CAUTION:
    Do not click Okay until you have selected properties for each of the objects that you want to add.
  10. On the Object Discovery and Selection page, the objects that you configured in the previous step appear in the Objects to be imported right panel. To import these projects using the express or quick way, follow these steps: To import these objects, This is an express way to add the three conversational properties to your project, isConvEnded, convID, and UseConvID.
    • Express® route to importing objects:
      • Click
        MFS icon
        , Enable conversational support for the imported objects, on the top menu bar.
      • This process automatically adds the three MFS properties required for conversational transactions: convID, useConvID and convEnded to your method.
      • Click Next.
    • Manual route to importing objects:
      • Click
        MFS icon for manual
        , Select any InteractionSpec or ConnectionSpec properties as your method input parameter or fields in the method output wrapper bean, on the top menu bar.
      • On the Expose Input or Output Parameters page, select the properties that you want to include in your method.
        Note: If you clicked
        MFS icon
        , Enable conversational support for the imported objects before clicking this manual process, convID, useConvID and convEnded have been preselected.
      • Click Next.
  11. On the J2C Bean Creation and Deployment Configuration page, type a name in the Java™ Project name field, and click New to create a Java Project.
  12. Type the package name in the Package name field, the interface name in the Interface name field, and the implementation name in the Implementation name field.
  13. Select Managed Connection or Non-managed Connection, and provide your connection information.
    • For Managed Connection, provide JNDI Name in the JNDI Lookup Name field.
    • For Non-managed Connection, provide the following required information:
      • host name
      • port number
      • Data store name

What to do next

The following artifacts are created by this process:

Feedback