We're using jboss as the app server and a backend oracle database.
We are writing a web interface to a legacy system where there is a
requirement that each user has his own connection,
so using connection pools is out of the question.
When the user logs on , i create a database connection and i store this in a
hashtable with as key the userprincipal.
in the ejb i can get the connection back via the context.getUserPrincipal();

Now for the problem of transactions.

   whenever a descriptor for a bean declares that it need a "transaction
required" 
   i somehow need to tell this to the oracle database.
   I presume that i need to change some of the interceptors, but i'm not
sure which interceptor i have to change.
   If have been looking at TxInterceptorCMT and TxInterceptorBMT , but there
is not the notion of commit and rollback.

Does anybody can give me a hint how to tackle this.

I've you send an answer , please send it also to my own e-mail adress

Thanks
Blyau Gino

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to