We run H2 embedded in felix, and publish a c3p0 connection pool as a
javax.sql.Datasource service.  Our bundle embeds the H2 jar along with
drivers for mysql and postgres.  You can either specify JDBC connection
information in felix's config.properties, or leave it out and the embedded
H2 database will be used.  See [1].  This activator also publishes
eclipselink settings for the bundles that want to use JPA with this
datasource.

[1]
https://opencast.jira.com/svn/MH/trunk/modules/matterhorn-db/src/main/java/org/opencastproject/db/Activator.java

Josh

On Fri, Oct 29, 2010 at 2:01 AM, Christopher Brind <
[email protected]> wrote:

> Db4o is an embedded OODB that runs fine in OSGi containers.
>
> Cheers
> Chris
>
> Sent from my iPad
>
> On 29 Oct 2010, at 00:35, Mike van Geertruy <[email protected]>
> wrote:
>
> > Are there databases that run within and OSGi Container?  Something, say
> > deployed as a feature within Felix or Karaf?
> >
> > v/r,
> >
> > Mike Van
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to