This directory contains a test used to check that JOnAS is OK in
a multithreaded environment, with many concurrent clients running
above the same beans.
This test can be used also to check the scalability of the JOnAS server.

2 beans are used:

ManacEC		Entity bean with local interface.
	- Represents a bank account. Its balance must never be negative.

ManagerSF	Stateful session bean, with remote interface.
	- manages the set of accounts.
	- used as "facade" to access local accounts.

The client is actually a "junit" test program.
Each test case is a different scenario, with choosen parameters.

The list of parameters is :

accounts	nb of accounts used b the test
delay		nb of seconds waited inside each operation (default = 0)
loops		nb of operations
amount		amount withdrown from an account to another at each operation.
threads		nb of cioncurrent threads.

Each operation do the following: (See A_thread.java)

- choose 2 accounts to debit and 2 accounts to credit.
- make the withdraw
- check all accounts are still positive.

