The XADataSource is not exposed. You use it like a normal DataSource.
thank you Adrian!!!
what i do really need is a XAResource, to enlist it in a transaction. but if i get a DataSource i dunno how to get the XAResource. i see no examples of how to do it. can you point me somewhere how to do that ???