4.3. VDB Content and Structure
In Teiid Designer, the VDB file names use a
.vdb
file extension. VDBs are structurally just ZIP archive files containing 3 folders:
- META-INF - contains
vdb.xml
definition file. - runtime-inf - contains a binary INDEX file for each model included in your VDB.
- project folder - contains of the models you will be adding in the VDB Editor (that is,
*.xmi
and*.xsd
files)
When deployed, the metadata is consumed by JBoss Data Virtualization in order to create the necessary runtime metadata for your model definitions.
The vdb.xml file contains:
- VDB name, version, properties
- contained model information (name, translator name, connection info)
- translator info
- data role definitions for the referenced models
- import VDB references
Fortunately, Teiid Designer simplifies the management of your VDBs by providing a dedicated VDB Editor which maintains a consistent, valid
vdb.xml
file for you and assists in synchronizing your workspace models with any related models in your VDB. (See Section E.8.1, “VDB Editor”)