users@glassfish.java.net

Re: XA data source casting

From: <glassfish_at_javadesktop.org>
Date: Fri, 04 May 2007 07:36:18 PDT

XADataSource will be used by containers that support distributed transactions. Application need not get access to XADataSource. All that application needs is to getConnection, use, close the same.
Even though application gets proprietery datasource, app.server internally will create the XADataSource and provide connections to application.

You can refer chapter 12 (Distributed Transactions) of JDBC 3.0 Specification. Especially 12.2.1, 11.5

Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=215558