JBoss.orgCommunity Documentation
Having built the VDB, it must be deployed so it can be access through a JDBC connection. Note there are two steps involved in this deployment:
Deploying Teiid Embedded
Deploying VDB
Teiid Embedded is typically used in one of two manners:
As a Stand-alone Java application
In a JEE Application Server (Deploy and Create connection pool).
This example deploys Teiid Embedded as a stand-alone Java application. The sample deployment is shown below. You can find more details about deploying to application servers on the Teiid web-site
Add the "${embedded root}/teiid-${version}-client.jar" to your application classpath
Place your VDB in a the "${embedded root}/deploy" or another location referenced by the deploy.properties file.
Now, go to the next section to learn how to connect to the VDB