Initializing the Java Transaction Service


JTS needs to be instantiated, set as the transaction service of the ORB, and recovered before it can be used to create and manage transactions.  The instantiation and setting as the transaction service can be done in two ways:

With properties file

Programatically

You can programmatically instantiate JTS and set it as the transaction service using the ORB TSIdentification API interface object. You must make sure that the transactions.properties does not specify any class as the transaction service.

Example Server initialization programmatically


Copyright © 1998-2003, Novell, Inc. All rights reserved.