uCosminexus Application Server, Common Container Functionality Guide
This subsection describes the notes on system setup and the settings.
This section describes the notes on system setup when you start a transaction with an EJB client application. For details on the settings of the EJB client application transactions, see (2) Settings for using a transaction with an EJB client application.
This section describes the settings for using a transaction with an EJB client application.
To use transactions with the EJB client applications, you must specify the following settings:
The settings for obtaining UserTransaction are the settings used for developing the J2EE applications. To use transactions with the EJB client applications, you must specify settings to obtain UserTransaction (javax.transaction.UserTransaction) from the EJB client application. For details on how to specify the settings, see 3.5 Implementing transactions with the EJB client applications in the uCosminexus Application Server EJB Container Functionality Guide.
This subsection describes the JAR file and property settings for using transactions with the EJB client applications.
To use transactions with the EJB client applications, specify the following JAR files in the class path:
For details on specifying the JAR file in the class path, see 3.7.4 Specifying the JAR file in the class path of the EJB client application in the uCosminexus Application Server EJB Container Functionality Guide.
This section describes the keys that must be set up to use transactions with the EJB client applications. For details on the property settings, see 3.3.5 Setting up the EJB client application properties in the uCosminexus Application Server EJB Container Functionality Guide. For details on the keys, see 14.3 usrconf.properties (User property file for Java applications) in the uCosminexus Application Server Definition Reference Guide.
To use transactions with the EJB client applications, you set up the following keys:
This section describes the notes on specifying the settings for the EJB client application transactions.
To use a global transaction, you must disable the light transaction functionality on Application Server. By default, the light transaction functionality is enabled. If you specify true in the ejbserver.distributedtx.XATransaction.enabled key of usrconf.properties for the J2EE servers, the light transaction functionality is disabled and the global transaction can be used.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.