Index for Using Transactions
A
ACID properties 1-2, 2-3
activation policies
transaction 3-11
always transaction policy 3-4, 3-12
API models, supported 1-3
Application-to-Transaction Monitor Interface (ATMI) 2-6
assigning transaction policies 3-7
atomicity (ACID properties) 1-2
autocommit 7-6
AUTOTRAN parameter 8-9, 8-10, 8-13
B
bean-managed transactions 1-10
transaction attributes 5-5
transaction semantics
stateful session beans 5-9
stateless session beans 5-10
business transactions, support 1-4
C
client applications
multithreading 2-7
using transactions 4-5
CLOPT parameter 7-13
close_xa_rm method 3-10
CLOSEINFO parameter 8-7
closing an XA resource manager 3-10
CMTRET parameter 8-3
code example
C++ CORBA server object that supports transactions 1-20
EJB applications 1-25
OMG IDL for Transactions sample CORBA application 1-16
RMI applications 1-27
TransactionCurrent object 4-3
transactions
C++ 4-6
Java 4-6
Visual Basic 4-7
transactions in C++ CORBA client application 1-22
UBBCONFIG file for Transactions sample CORBA application 1-23
committing transactions
EJB applications 1-27
RMI applications 1-29
connection pool
finding via JNDI 7-16
consistency (ACID properties) 1-2
container-managed transactions 1-9
transaction attributes 5-4
transaction semantics 5-6
entity beans 5-8
stateful session beans 5-6
stateless session beans 5-7
Control interface 2-17
CORBA applications
transaction propogation 2-4
Transaction Service 2-8
Transaction Service API
Control interface 2-17
Current interface 2-12
data types 2-10
exceptions 2-10
TransactionalObject interface 2-18
transactions in client applications 1-7, 4-2
transactions overview 1-6
Transactions sample CORBA application 1-13
transactions support 3-2
CORBAservices Object Transaction Service (OTS) 1-3, 2-2, 4-2
CosTransactions module 2-12, 2-18
Current interface
about the Current interface 2-12
begin method 2-13
commit method 2-14
get_control method 2-15
get_status method 2-14
get_transaction_name method 2-15
resume method 2-17
rollback method 2-14
rollback_only method 2-14
set_timeout method 2-15
suspend method 2-16
D
data types
CORBA Transaction Service API 2-10
database cursors 3-4
deactivate_object method
and transactions 3-11
defining user-defined exceptions 3-13
delegated commit 2-3
development process
client applications
Transactions sample CORBA application 1-21
transactions 4-2
distributed transactions 7-4
about distributed transactions 1-4
about implementing 7-14
finding the connection pool via JNDI 7-16
importing packages 7-15
initializing TransactionCurrent 7-16
performing 7-17
setting up 7-17
DMTLOGDEV parameter 8-12
DMTLOGNAME parameter 8-12
DMTLOGSIZE parameter 8-12
domain transaction log, creating 8-5
DR_TRANS_ABORT 3-11
DR_TRANS_COMMITTING 3-11
durability (ACID properties) 1-2
E
EJB applications
bean-managed transactions 1-10
committing transactions 1-27
container-managed transactions 1-9
exceptions 5-11
general guidelines 5-2
importing packages 1-25
JNDI lookup 1-26
participating in a transaction 5-5
rolling back transactions 1-27
sample code 1-25
session synchronization 5-10
starting transactions 1-26
timeouts 5-11
transaction attributes 5-3
transaction semantics 5-5
transactions overview 1-8
ENABLEXA parameter 7-5
entity beans
container-managed transactions
transaction semantics
-
JDBC/XA accessibility 7-11
exceptions
CORBA Transaction Service API 2-10
EJB applications 5-11
HeuristicHazard 2-11
HeuristicMixed 2-11
INVALID_TRANSACTION 2-20
InvalidControl 2-12
NoTransaction 2-11
OBJ_ADAPTER 2-20
SubtransactionsUnavailable 2-11
TRANSACTION_ROLLEDBACK 2-16
Unavailable 2-12
user-defined exceptions 3-13
explicit propogation, in CORBA applications 2-4
F
FACTORYROUTING parameter 8-9
flat transactions 2-5
G
global transactions 7-4
GROUPS section 8-16
H
handling exceptions
EJB applications 5-11
HeuristicHazard exception 2-11
HeuristicMixed exception 2-11
I
ICF file
defining transaction policies 4-2
ignore transaction policy 3-7
Implementation Configuration File (ICF)
defining transaction policies 1-18
implicit propogation, in CORBA applications 2-4
importing packages
EJB applications 1-25
interdomain interoperability 2-5
interoperability
interdomain 2-5
intradomain 2-5
network 2-6
remote clients and WLE domain 2-5
intradomain interoperability 2-5
INVALID_TRANSACTION exception 2-20
InvalidControl exception 2-12
isolation (ACID properties) 1-2
J
Java Naming Directory Interface (JNDI)
EJB applications 1-26
RMI applications 1-29
Java Transaction API (JTA) 1-3, 2-2
Java Transaction Service (JTS) 1-3
JavaServerXA 7-12
JavaServerXA, described 7-3
JDBC standards, supported 7-4
JDBC/XA driver
enabling 7-5
pooled connections 7-3
JNDI
finding the connection pool 7-16
L
lightweight clients
about lightweight clients 2-3
Application-to-Transaction Monitor Interface (ATMI)I 2-6
interoperability 2-5
listings
sample GROUPS section 8-17
sample MACHINES section 8-16
sample NETWORK section 8-17
sample RESOURCES section 8-15
local transactions 7-4
M
MACHINES section 8-4, 8-15
Mandatory transaction attribute 5-4
MAXGTT parameter 8-3
MAXRDTRAN parameter 8-12
MAXTRAN parameter 8-12
multithreading
clients 2-7
N
nested transactions 2-5, 2-20
network interoperability 2-6
NETWORK section 8-16
Never transaction attribute 5-4
never transaction policy 3-6
NoTransaction exception 2-11
NotSupported transaction attribute 5-4
NULL resource manager 3-11
O
OBJ_ADAPTER exception 2-20
object state management 3-10
delegating to an XA RM 3-10
Transactions University sample application 3-17
ODMG standard 2-7
OMG IDL
Transactions sample CORBA application 1-15
Open Group XA interface 2-6
open_xa_rm method 3-8
OPENINFO parameter 7-12, 8-7
opening an XA resource manager 3-8
optional transaction policy 3-5, 3-12
Oracle7 3-18
OSI TP protocol 2-6
P
participating in a transaction 5-5
pooled connections 7-3
process failure, handling 2-7
programming models, supported 1-2
R
recursive transactions 2-20
remote clients and interoperability 2-5
Required transaction attribute 5-4
RequiresNew transaction attribute 5-4
resource manager
closing an XA 3-10
delegating object state management 3-10
NULL 3-11
opening XA 3-8
RESOURCES section 8-14
RMI applications
committing transactions 1-29
general guidelines 6-2
JNDI lookup 1-29
rolling back transactions 1-29
sample code 1-27
starting transactions 1-29
transactions overview 1-11
rolling back transactions
EJB applications 1-27
RMI applications 1-29
ROUTING parameter 8-10
ROUTING section 8-17
S
sample applications
Transactions sample CORBA application 1-13
Server Description File
about the Server Description File 1-19
Server object
supporting databases 1-19
Transactions sample CORBA application 1-19
SERVERS section 8-17
SERVICES section 8-17
session synchronization 5-10
setTransactionTimeout method 5-11
SNA LU 6.2 protocol 2-7
SRVTYPE parameter 7-13
starting transactions
EJB applications 1-26
RMI applications 1-29
stateful session beans
bean-managed transactions
transaction semantics
-
container-managed transactions
transaction semantics
-
JDBC/XA accessibility 7-10
stateless session beans
bean-managed transactions
transaction semantics
-
container-managed transactions
transaction semantics
-
JDBC/XA accessibility 7-11
SubtransactionsUnavailable exception 2-11
Supported transaction attribute 5-4
T
terminating transactions 2-4
throwing user-defined exceptions 3-14
TLOG 8-3
TLOGDEVICE parameter 1-23, 8-5
TLOGNAME parameter 8-5
TLOGOFFSET parameter 8-5
TLOGSIZE parameter 8-5
TMS 3-18
configuring 3-8
Oracle7 3-8
requirements for 3-8
TMSCOUNT parameter 8-7
TMSNAME parameter 8-7
transaction activation policy 3-11
transaction attributes
bean-managed transactions 5-5
container-managed transactions 5-4
described 5-3
transaction log, creating 8-3
Transaction Manager Server
See TMS
transaction policies
always 3-4, 3-12
assigning 3-7
defined 1-18
defining in ICF file 4-2
ignore 3-7
never 3-6
optional 3-5, 3-12
Transactions sample CORBA application 1-18
transaction semantics 5-5
Transaction Service
about the Transaction Service 2-2
capabilities 2-2
CORBA applications 2-8
API extensions 2-19
clients supported 2-8
features 1-4
general constraints 2-7
limitations 2-2
transactional objects
defining 3-4
TransactionalObject interface 2-18
TransactionCurrent interface 7-16
TransactionCurrent object
begin method 4-4
code examples 4-3
commit method 4-4
get_status method 4-5
get_transaction_name method 4-5
getcontrol method 4-5
getting initial references to 2-9
methods 4-4
resume method 4-5
rollback method 4-4
rollback_only method 4-4
set_timeout method 4-5
suspend method 4-5
transaction-related parameters in MACHINES section, defining 8-4
transactions
autocommit 7-6
client CORBA applications 4-2
configuring
AUTOTRAN parameter 8-9, 8-10, 8-13
CMTRET parameter 8-3
creating a transaction log
-
-
-
defining each resource manager and the transaction manager server in GROUPS section 8-6
DMTLOGDEV parameter 8-12
DMTLOGNAME parameter 8-12
DMTLOGSIZE parameter 8-12
enabling a Tuxedo service to begin a transaction in the SERVICES section 8-9
FACTORYROUTING parameter 8-9
INTERFACES section 8-8
MAXGTT parameter 8-3
MAXRDTRAN parameter 8-12
MAXTRAN parameter 8-12
modifying the domain configuration file to support transactions 8-11
modifying the UBBCONFIG file 8-2
ROUTING parameter 8-10
sample GROUPS section 8-6
specifying application-wide transactions in RESOURCES 8-3
TLOGDEVICE parameter 8-5
TLOGNAME parameter 8-5
TLOGOFFSET parameter 8-5
TLOGSIZE parameter 8-5
transaction log (TLOG) 8-3
transaction values description in sample GROUPS section 8-6
TRANTIME parameter 8-9, 8-10, 8-13
CORBA applications 1-6
distributed
sample application 8-14
distributed transactions 7-4
EJB applications 1-8
flat transactions 2-5
functional overview 1-6
implementing in a WLE server application
in client applications 4-5
in CORBA client applications 1-7
integrity 2-4
local transactions 7-4
nested 2-20
nested transactions 2-5
object state management 3-10
participating in a transaction 5-5
propagating, in CORBA applications 2-4
recursive 2-20
RMI applications 1-11
termination 2-4
timeouts 5-11
transaction contexts, in JDBC/XA connections 7-7
transaction processing 2-6
transaction semantics 5-5
when to use transactions 1-5
Transactions CORBA sample application
workflow 1-13
Transactions sample CORBA application
about the Transactions sample CORBA application 1-13
client application 1-21
development steps 1-15
illustrated 1-13
location 1-15
OMG IDL 1-15
transaction policies 1-18
UBBCONFIG file 1-22
user exceptions 1-13
writing server applications 1-19
Transactions University sample application
about the application 3-15
configuration requirements 3-19
object state management 3-17
transaction model used 3-16
transactions, configuring
CLOSEINFO parameter 8-7
OPENINFO parameter 8-7
TMSCOUNT parameter 8-7
TMSNAME parameter 8-7
trans-timeout-seconds element 5-11
TRANTIME parameter 8-9, 8-10, 8-13
two-phase commit protocol (2PC) 1-4
U
UBBCONFIG file
adding transactions 1-22
JDBCCONNPOOLS section 7-5
UDL 8-4
Unavailable exception 2-12
Universal Device List (UDL) 8-4
unmanaged desktops 2-3
user exceptions
Transactions sample CORBA application 1-13
user-defined exceptions
about user-defined exceptions 3-13
defining 3-13
throwing 3-14
UserTransaction
committing transactions
EJB applications 1-27
RMI applications 1-29
initializing
EJB applications 1-26
rolling back transactions
EJB applications 1-27
RMI applications 1-29
sample code 1-25, 1-27
starting transactions
EJB applications 1-26
RMI applications 1-29
V
vetoing a transaction 3-11
W
WLE JDBC/XA driver
about the driver 7-2
accessibility
CORBA methods 7-9
EJB methods 7-9
using 7-12
WLE server applications
and transactions
X
XA resource manager
closing 3-10
delegating object state management 3-10
opening 3-8
Transactions University sample application 3-18