I forgot to mention that my connector has to use the "Dynamic VDB" with
connector supplied Meta data. Will this this be any easier to setup? I
did notice the article that said the DVDB file must have a name
???-vdb.xml, but did not find any specifics on what that files should
contain. Is it the same format as the 6.2 .def file?
I ask this because I had a problem that I ran into while developing with
the 6.2 CDK. It did not support the ability to have connection specific
Meta data. It always used the Meta data the TranslationUtility was
created with to parse the SQL command and the TranslationUtility had to
be created before the ConnectorHost was created, which is needed to
create a connection.
I need to control the Meta data my connector gives to Teiid based on a
connection's userid and password. Is there a way to do that?
Ramesh Reddy wrote:
On Mon, 2010-04-05 at 16:56 -0400, Charles Simon wrote:
> Should I be developing a JCA connector that gets added to Teiid or is
> Teiid the JCA connector and I still need to be developing using the
> Teiid connector API?
>
Teiid Connector API extends the JCA API. The Teiid runtime uses the
Connector API to communicate with the Teiid Connector. But at the same
time
Teiid Connector *is a* JCA connector.
Here Teiid provides rest of the hooks *to be* a JCA Connector. It needs
to be JCA connector to live in a Container like JBoss AS, so that Teiid
can make use of data sources, connection pooling, security etc.
So, you can keep developing your connector as before. However, before
you can move your connector to 7.0 release you need to
1) update it with latest Connector API from 7.0. One major difference
here is how you define/read configuration properties.
2) it needs be packaged differently. This requires RAR file format.
3) deployed in the environment differently. It is exactly like defining
a Connection Factory/Data Source in JBoss AS.
We are also in process of developing a Eclipse plugin for connector
development, we will have a version of it before 7.0 final release.
Ramesh..
--
Charles Simon
Principal Software Engineer
Select Business Solutions, Inc.
35 Nutmeg Drive
Trumbull, CT 06611
http://www.selectbs.com
mailto:charles.simon@selectbs.com