Hi,

I just read "Using Databases" in the Cocoon 2 
documentation, and I have some questions concerning the 
code template for the use of the DataSourceComponent:

1. What kind of object is "datasource"? It is casted to 
DataSourceComponent, but of which class is it really? Is it 
an org.apache.avalon.excalibur.datasource.JdbcDataSource 
when I use a JDBC connection?

2. How do I "// .... perform SQL code here"? I guess that 
in the case of a JDBC connection, I will use the JDBC 
methods of myConnection to perform inserts, selects, etc., 
but I'm not sure.

3. It is said that my class needs to implement the Avalon 
Composer Interface, but I can't find it in the Avalon API.

Thanks a lot in advance,

Tilman







---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to