Brian Maso wrote:

> Reading the JTA spec, I can't figure out how a bean in a JTA-compliant
> container would get a reference to the transaction manager in order to add a
> new resource to the transaction. Am I missing something?

I think that with a reference to the Transaction, you can call the method
Transaction.enlistResource() in order to achieve this.  Thus, there appears to
be no need for a reference to the TransactionManager itself.  This is in the JTA
spce on page 17 (PDF)

Sincerely,
Anthony Eden

--
Webmanager

Groupe ESSEC
Avenue Bernard Hirsch, BP 105
95021 Cergy Pontoise Cedex France
[EMAIL PROTECTED]

===========================================================================
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".

Reply via email to