Attribute name Example Default
ejb-location jdbc/MyEJBDS No default
Tag name File
data-sources/data-source data-sources.xml

The JNDI-path to bind an EJB-aware and pooled version of this DataSource to. (only applies to ConnectionDataSources). This version of the datasoruce will automatically take part in container-managed transactions and is the type of source that should be used from within EJBs and similar (if you use a "clean" datasource you loose the container-managed transactions support).