cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: [C2] DataSources Proposal
Date Fri, 05 Jan 2001 23:00:30 GMT
Giacomo Pati wrote:

> Berin Loritsch wrote:
>> The J2eeDataSource will only be compiled when JNDI is present

> Easy to solve with ant :)

That's what I was thinking

>> If that is the case, I need to know what package name
>> to use.  I was thinking the following:
>> org.apache.cocoon.components.datasource/
>> DataSourceComponent
>> JdbcDataSource
>> J2eeDataSource
>> They would be included in the cocoon.xconf file using a ComponentSelector because
>> you can potentially have multiple database connections in Cocoon.
>> Any thoughts or requests for clarification?
> I think all you have explained and suggested make total sense. 

Whew.  I have the beginnings of the implementation done already.
I am trying to adjust Esql to use the use-connection correctly.

> Having this as a Component in the cocoon.xconf file is exactly what I'd
> like. I was thinking about how to implement a JDBC connection pool and
> looked into C1. But the Turbine pool isn't what I'd like to have in C2
> because it's not a Avalon Component and I think it doesn't fit into the
> C2 architecture.

Cool Beans.  It fits now, but there are some things to iron

View raw message