jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matej Knopp" <matej.kn...@gmail.com>
Subject Re: Connection pooling
Date Thu, 17 Jul 2008 18:16:32 GMT
>
> If you get database connection pooling in Jackrabbit without
> DataSources (using the aforementioned commons-dbcp for example), why
> do you need a explicit DataSource configuration inside the
> repository.xml then?
>
I don't really understand the question. What exactly do you mean by "
database connection pooling in Jackrabbit without DataSources"?
DataSource is just an interface to isolate jackrabbit from the details
of who and how is providing database connection. Jackrabbit doesn't
need to know how exactly the data source obtains the connection, or if
it is from a pool or not.

The whole idea is to make jackrabbit agnostic of source of the
connection while allowing easy configuration for scenarios when
jackabbit actually is responsible for managing the database
connections (embedded databases).

-Matej

> Regards,
> Alex
>
>
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
>

Mime
View raw message