Справочник Пользователя для IBM WebSphere Adapters

Скачать
Страница из 226
Generating outbound XA transaction support methods:
With XA transaction support, the transaction spans multiple heterogeneous
systems. It uses global or two-phase-commit protocol. If a transaction manager
coordinates a transaction, that transaction is considered a global transaction.
Review the section on XA transaction support in Generating an IBM WebSphere
Resource Adapter.
The getLocalTransaction() method provides a LocalTransaction implementation and
returns the wrapper.
For more information on transaction support, see Implementing transaction
support.
1.
Click the Generate Outbound Adapter classes check box and then click on the
XATransaction Transaction Support
check box in the right pane.
When you choose XATransaction Transaction SupportLocal Transaction
Support
is selected automatically.
2.
Click Finish.
Now, you can generate command pattern classes.
Generating command pattern classes:
Command pattern classes help reduce the complexity associated with comparing
and managing dynamic object hierarchies.
42
WebSphere Adapters: WebSphere Adapter Toolkit User Guide