I bundled every jdbc driver , create some connection bundles for these bundles, then use dbcp bundle to access database, if i want to switch other database, just start the connection bundle of database which want to connect, stop the others.
i think JPA is good solution. best regards Tommy Wed, Dec 23, 2009 at 10:08:49AM +0000, David Bosschaert wrote: > I would suggest using JPA, this is part of the OSGi Enterprise release > and there are several implementations of this already available. > See http://www.osgi.org/download/osgi-4.2-enterprise-early-draft4.pdf > > Best regards, > > David > > Miguel wrote: >> hi all, >> >> I am looking for the best way to implement a database access using >> OSGI standard API. I know that spring has several developments to >> access databases whatever the database is. >> Is there any current developments like these spring frameworks to make >> easier the interaction with databases? >> >> >> best regards, >> >> Miguel >> Sent from Madrid, Spain >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> OSGi Developer Mail List >> [email protected] >> https://mail.osgi.org/mailman/listinfo/osgi-dev > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
