I dont understand the RESOURCE_LOCAL relation with the jta/non-jta datasource.
If i use RESOURCE_LOCAL, i have to use the non-jta-datasource? And if i use JTA i have to use jta-datasource? If things are that way my question is:
Should be only the tag?
Another strange thing is that i see applications using JTA datasources with RESOURCE_LOCAL transaction type, i'm noob in this transactional-JEE world but those things sounds tottaly different to use them togheter for me.
Am i right? Is there any good reading about it that you guys recommend?