Red Hat Training

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

2.14. Connecting to a VDB as a Data Source

JBoss Data Virtualization virtual databases (VDBs) can be configured as an JBoss Enterprise Application Platform (EAP) data source. The data source can then be accessed from JNDI or injected into your Java EE applications. A JBoss Data Virtualization data source is deployed in the same way as any other database resource.

Note

The recommended approach for configuring data sources is to use JBoss CLI or Management Console, not directly editing the standalone.xml configuration file. See the Red Hat JBoss Enterprise Application Platform Administration and Configuration Guide for more information on how to configure data sources in JBoss EAP.