The Java™ Transaction API (JTA) and non-JTA data sources to be used for an application can be specified through the <jta-data-source> and <non-jta-data-source> elements of the persistence.xml file within an Enterprise JavaBeans™ (EJB) module.
If these elements are not configured in the persistence.xml file, then the default JTA and non-JTA data sources configured for the server are used. These values are null by default. However, the default JTA and non-JTA data source Java Naming and Directory Interface (JNDI) names to be used by applications running on this server can be defined using the administrative console.
In this information ... | IBM Redbooks, demos, education, and more(Index) |