For a great majority of the applications that use XARs, the process of implementing an XAR is simple and straightforward. However, for some more complicated applications, you need to plan ahead and design the required XAR(s) to accommodate the complexity of such an application.
Once you have generated an RM switch module, you can include it in an XAR definition in Enterprise Server. An XAR definition includes an xa_open string, which is where you include specific RM syntax for the underlying RM.
In addition to the RM-specific xa_open string syntax, we provide several options that enable you to fine-tune your XAR definitions, providing the best possible configuration for running applications on Enterprise Server.
XARs support the following RM switch module types:
Before configuring an XAR for an enterprise server region, we suggest that you consider the following:
However, in some scenarios, more than one XAR of the same type might be required for a Web services application. In this case, you must compile your code using the XAID compiler directive, in addition to providing multiple XAR definitions. See Working with Multiple XARs for more information.
For more information about configuring an XAR, see To configure an XAR for an enterprise server region.