Hello every one:
Boundary of Transaction is unknown to user, it means: begin and commit are held
by Tuscany's runtime.
But XA resources needs TM to!
XA resources spread every where inside users application and might be far from
Tuscany's reach.
To this point, JNDI is a good way for those XA resources to access TM(such as
enlist() method).
For example, users who used much of Hibernate. Hibernate is easy to config to
use XA Datasource from JNDI and TM as well. (But tuscany could not host any
implementation of Hibernate).
Does this mean users should have to abandon Hibernate? I'm sure this is not the
initiation of Tuscany.
Again JNDI is one of the solutions not the only one or the best one. But as a
integration architecture, I think it is a matter of fact.
Best regard.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.