Hi Robert,

On Mon, May 19, 2014 at 2:30 PM, Robert Munteanu <rob...@lmn.ro> wrote:
> Not having looked at the code, I'm curious how this differs from pax-jdbc [4]?

Pax JDBC implements the OSGi org.osgi.service.jdbc.DataSourceFactory
[5] spec. Its primary focus is to expose DataSourceFactory for various
drivers. A user can then use the DSF api to programatically construct
the DataSource instance

The proposed bundle instead aims to declarativly create the DataSource
instance based on OSGi config. The client code just need to obtain the
DS via DI. It has following features

1. A DataSource service backed Connection Pool which can be directly
used in production
2. Enable configuring the various DataSource properties via OSGi config
3. Self contained and

This bundle can leverage the Pax Bundles to obtain Driver
instance/native DataSource instance and then wrap it with the
Connection Pool

Chetan Mehrotra
[5] 
http://www.osgi.org/javadoc/r4v42/org/osgi/service/jdbc/DataSourceFactory.html

Reply via email to