IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Migrating context

This section describes hot to migrate an IBM® WebSphere® Multichannel Bank Transformation Toolkit version 4.3 context to a WebSphere Multichannel Bank Transformation Toolkit version 7.1 context.

About this task

You do not need to change the context, type, and data definitions of WebSphere Multichannel Bank Transformation Toolkit version 4.3 when you migrate them to WebSphere Multichannel Bank Transformation Toolkit version 7.1 because these definitions are the same in version 4.3 and version 7.1. In WebSphere Multichannel Bank Transformation Toolkit version 7.1, a class table tag for context implementation class and an initializer tag are added in the CHA configuration in the btt.xml definition file.

The APIs in WebSphere Multichannel Bank Transformation Toolkit version 4.3 and WebSphere Multichannel Bank Transformation Toolkit version 7.1 are almost the same except the way of constructing the context instance. In WebSphere Multichannel Bank Transformation Toolkit version 7.1, the context is constructed from ContextFactory. The service reference of WebSphere Multichannel Bank Transformation Toolkit version 4.3 is no longer applicable in WebSphere Multichannel Bank Transformation Toolkit version 7.1. An example of migrating a WebSphere Multichannel Bank Transformation Toolkit version 4.3 context to a WebSphere Multichannel Bank Transformation Toolkit version 7.1 context is provided in the procedure in this topic.

Procedure

  1. Creating a WebSphere Multichannel Bank Transformation Toolkit version 4.3 context.
    Context ctxt = (Context) Context.readObject("myContext");
    Context ctxt2 = new com.ibm.dse.base.Context();
    ctxt2.setName("myContext2");
  2. Creating a WebSphere Multichannel Bank Transformation Toolkit version 7.1 context.
    Context diiTestCtx = ContextFactory.createContext("myContext");
    Context ctxt2 = new com.ibm.btt.base.Context();
    ctxt2.setName("myContext2");


Feedback