jgroup.test.jini.txn
Class TxnClient

java.lang.Object
  extended by jgroup.test.jini.txn.TxnClient

public class TxnClient
extends java.lang.Object

Client for running Jini transactions, using either replicated or non-replicated transaction components.

This client can perform transactions using three different models:

  1. Using replicated bank services and a replicated transaction manager.
  2. Using non-replicated bank services and a non-replicated transaction manager. In this model, classic (transient) Jini transactions are performed without replication support at all.
  3. Using non-replicated bank services and a transaction manager with replication support. In this mode, the state of the transaction manager is transfered to the transaction manager replicas, when performing transactions.
The different models are set by passing two system properties to TxnClient:

Author:
Rohnny Moland

Constructor Summary
TxnClient()
          Constructor invoked by main
 
Method Summary
static void main(java.lang.String[] args)
          Instatiates a TxnClient object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxnClient

public TxnClient()
          throws java.lang.Exception
Constructor invoked by main

Throws:
java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Instatiates a TxnClient object

Throws:
java.lang.Exception


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.