Re: J2C and resource reference
Johan Eltes <[email protected]> Tue, 9 Aug 2005 23:18:36 +0200
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
As with any re ref (datasource, JMS queue connection factory etc), they allow your java code to be independent of the structure of the extrernal JNDI tree. In case your JTA transaction is controlling your CICS transaction, using res-refs (and "java:comp/env/..." look-ups), is the only means by which you can look up the managed connection in a way that the transaction context is propagated to CICS. This is documented in the J2EE spec, section J2EE.5.4 (Resource Manager Connection Factory References) of the J2EE spec version 1.4. /Johan On 9 aug 2005, at 22.19, ahtwog wrote: > Hi, > I invoke CICS transaction from EJB.what is the advantage in > adding "Resource reference" for the J2C connection factory in EJB's > deployment descriptor (reference tab).The default values for > authetication > and isolation level are only needed in my EJB. > Pls. let me know .Thanks in advance. > > ====================================================================== > ===== > To unsubscribe, send email to [email protected] and include in > the body > of the message "signoff CONNECTOR-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 CONNECTOR-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".