Red Hat Training

A Red Hat training course is available for Red Hat JBoss Data Virtualization

1.10. Connecting to a VDB Using the Data Source Class

The org.teiid.jdbc.TeiidDataSource class is based on the javax.sql.DataSource connection factory. It can be used to create ManagedConnections and XAConnections to both DataSources and XADataSources. XA transactions are extended to JBoss Data Virtualization sources that support XA.
The JBoss Data Virtualization DataSource class is serializable and can be used with JNDI naming services.
See EAP_HOME/quickstarts/simpleclient/ example for more information.