felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bokie <jms.cer...@gmail.com>
Subject DataSourceFactory
Date Sat, 19 Oct 2013 20:41:16 GMT

I've been reading the specs and looking at some implemented examples of the

And, after looking at the "JDBC idea" in OSGi, I must admit that it wasn't
what I expected to find - I was expecting to find the "PROVIDER" paradigm
(in the single instance sense) instead of the "CREATOR" paradigm:
   createConnectionPoolDataSource(java.util.Properties props)
   createDataSource(java.util.Properties props)
   createDriver(java.util.Properties props)
   createXADataSource(java.util.Properties props)

Could someone clear up the thought behind DataSourceFactory; who are the
intended clients of the factory service - it doesn't make sense for a client
to receive a freshly created datasource every time it needs to interact with
the database.


View this message in context: http://apache-felix.18485.x6.nabble.com/DataSourceFactory-tp5005667.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org

View raw message