[teiid-dev] Fwd: [teiid-designer-dev] Connection Factories

Ramesh Reddy rareddy at redhat.com
Fri Apr 9 12:15:24 EDT 2010


On Fri, 2010-04-09 at 10:12 -0500, John Verhaeg wrote:
> 
> Guys, am I getting confused again, or don't we also need to store the
> connector name, in addition to the CF name/JNDI name, in the vdb.xml
> to allow for John's scenario above? 

The Connector *only* comes in the picture when you are creating a CF.
period. This information is contained *only* in a CF properties. Then,
"vdb.xml" has the JNDI name for the CF.

CF --> instance of --> Connector

VDB --> has --> Model (+1)  --> has reference to --> CF (+1)


When user 2 gets the VDB, and not sharing containers
1) he has choice to define the CF for the names defined under "vdb.xml"
in his container. 
2) If user 1 can also pass in the "-ds.xml" files for the CF, he can
deploy them along with the vdb

If they are sharing the containers, they do not need to share any thing.
They both have access to the VDB and its CF.

Hope this helps.

Ramesh..

CF == Connection Factory
(+1) denotes more than one




More information about the teiid-dev mailing list