In JBoss documentation there is possibility to declare <no-tx-datasource> which states:
no-tx-datasource : This element is used to specify the (org.jboss.resource.connectionmanager) NoTxConnectionManager service configuration. NoTxConnectionManager is a JCA connection manager with no transaction support.
I’m curious what can be connected by that kind of datasource? Ldap? What are practical use cases or opensource examples of this kind of configuration?
Accessing to a read-only database is the most basic use case I can think about. Another one would be an application that manages the transaction state itself. And another if you want to use a connection that won’t participate in a global JTA transaction. The last one happens in Quartz (see the JobStoreCMT).
But, while googling (this is a good question!), I found some more inspiration in the section Using Non-Transactional Connections of Sun’s application server documentation:
Interesting…