The J2EE standard for looking up User transaction is
"java:comp/UserTransaction". (section 20.7 EJB 2.0 specification).
There is no such prescribed standard for TransactionManager. Infact the
TransactionManager should not be used by the application and is meant for
access by the Application Server Framework. In my opinion the Transaction
manager is not the right interface for the functionality you desire.
A.K.
----- Original Message -----
From: "Anamitra Bhattacharyya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 8:55 PM
Subject: UserTransaction & TransactionManager handle
> Hi all
> I am using weblogic server 6.1 - all along I use this
> intialctx.lookup("javax.transaction.UserTransaction")
> to get a handle to UserTransaction service. Is this
> the same way all the other j2ee servers attach their
> UserTransaction service??
> Also can anyone tell me how to get a handle to the
> javax.transaction.TransactionManager instance? I need
> this because I want to suspend a usertransaction and
> start another usertx commit it and then resume the
> suspended one.
> I know that EJB DDs has a tx param "RequiresNew" which
> does this thing if invoked with a existing tx. I want
> to do exactly the same thing - but for this particular
> case I do not have an EJB -so is TransactionManager
> the right interface?
> If yes then how to get a handle to it?
> TIA
> Anamitra
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".