You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Mike van Geertruy <mv...@comcast.net> on 2010/10/29 01:35:08 UTC

Database within Karaf?

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: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Database within Karaf?

Posted by Oliver Lietz <ap...@oliverlietz.de>.
Am Friday 29 October 2010 schrieb Mike van Geertruy:
> Are there databases that run within and OSGi Container?  Something, say
> deployed as a feature within Felix or Karaf?

Sure, db4o.

http://developer.db4o.com/Documentation/Reference/db4o-7.4/java/reference/html/reference/platform_specific_issues/database_for_osgi/db4o-
osgi_usage.html

Spring db4o Extension comes with support for OSGi Blueprint:
http://projects.oliverlietz.de/projects/spring-db4o/osgi.html

regards,
O.


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


Re: Database within Karaf?

Posted by Justin Edelson <ju...@justinedelson.com>.
Derby certainly does. I don't know of any reason why H2 or Hypersonic wouldn't as well, but you're probably better off asking on those mailing lists instead of Felix's or Karaf's.

Justin

On Oct 28, 2010, at 7:35 PM, Mike van Geertruy 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 


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


Re: Database within Karaf?

Posted by Josh Holtzman <jh...@berkeley.edu>.
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 <
christopher.brind@gmail.com> 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 <mv...@comcast.net>
> 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: users-unsubscribe@felix.apache.org
> > For additional commands, e-mail: users-help@felix.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Re: Database within Karaf?

Posted by Christopher Brind <ch...@gmail.com>.
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 <mv...@comcast.net> 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

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


Re: Database within Karaf?

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

While not being a Karaf feature (AFAICT) Apache Derby comes built as a
bundle in recent releases (we use this bundle in Apache Sling as the
underlying database for Jackrabbit).

Regards
Felix

Am Donnerstag, den 28.10.2010, 19:35 -0400 schrieb Mike van Geertruy: 
> 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
> 



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