Regis,
> It's clearer like this. If you need to create multiple transaction in
> different threads it should be possible. The JOnAS transaction manager
> implementation allows to create a new transaction in a new thread (JTA). You
> just have to ensure that you're using only one reference of the Transaction
> reference you get from jndi. Just keep it somewhere in a static variable.
>
> main thread
> !
> transaction = jndilookup("..transaction");
> / \
> thread1 thread2
> ! !
> transaction.begin() transaction.begin()
> ! !
> transaction.commit(); transaction.commit();
Thank you for that interesting information. This sounds great. We'll try it out next
time and let you know if it works!
Thank you in advance :-)
Markus