You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Craig Ricciuto <cr...@symboticware.com> on 2009/11/25 15:21:41 UTC
JPA and OSGi
Hi. I've been trying for the past couple of days to get any kind of simple
example project working that uses JPA in an OSGi bundle being built with
Maven 2.
I've tried searching to my hearts content. I've even searched this mailing
list and any similar questions were answered with links I've already looked
at. The main two links I see the most being:
http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/
http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/
Now I know these are good resources but I'm still new to using OSGi and
those links don't use Maven but instead Ant, which I've never used before
except to try to build the projects that are linked on those two pages. Is
there anyone on here that could show me a Maven example using JPA in an OSGi
bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle).
Craig
Re: JPA and OSGi
Posted by Andreas Kollegger <ak...@tembopublic.org>.
I agree with Ben, the Dynamic Java stuff is a good option.
You could also take a look at EclipseLink. It's what I use
in my projects.
http://www.eclipse.org/eclipselink/
Best,
Andreas
On Nov 25, 2009, at 9:32 AM, Ben Coughlan wrote:
> Hi Craig,
>
> Have a look at Dynamic Java's JPA bundle:
> http://dynamicjava.org/projects/dynamic-jpa
>
> I've had some success with it in the past and it works some of the power of OSGi into JPA.
>
> Valery does a really good job providing examples and it's well worth having a look at some his other projects on the site.
>
> Regards,
> Ben Coughlan
>
> On 26/11/2009, at 1:21 AM, Craig Ricciuto wrote:
>
>> Hi. I've been trying for the past couple of days to get any kind of simple
>> example project working that uses JPA in an OSGi bundle being built with
>> Maven 2.
>>
>> I've tried searching to my hearts content. I've even searched this mailing
>> list and any similar questions were answered with links I've already looked
>> at. The main two links I see the most being:
>> http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/
>> http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/
>>
>> Now I know these are good resources but I'm still new to using OSGi and
>> those links don't use Maven but instead Ant, which I've never used before
>> except to try to build the projects that are linked on those two pages. Is
>> there anyone on here that could show me a Maven example using JPA in an OSGi
>> bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle).
>>
>> Craig
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: JPA and OSGi
Posted by Ben Coughlan <be...@gmail.com>.
Hi Craig,
Have a look at Dynamic Java's JPA bundle:
http://dynamicjava.org/projects/dynamic-jpa
I've had some success with it in the past and it works some of the power of OSGi into JPA.
Valery does a really good job providing examples and it's well worth having a look at some his other projects on the site.
Regards,
Ben Coughlan
On 26/11/2009, at 1:21 AM, Craig Ricciuto wrote:
> Hi. I've been trying for the past couple of days to get any kind of simple
> example project working that uses JPA in an OSGi bundle being built with
> Maven 2.
>
> I've tried searching to my hearts content. I've even searched this mailing
> list and any similar questions were answered with links I've already looked
> at. The main two links I see the most being:
> http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/
> http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/
>
> Now I know these are good resources but I'm still new to using OSGi and
> those links don't use Maven but instead Ant, which I've never used before
> except to try to build the projects that are linked on those two pages. Is
> there anyone on here that could show me a Maven example using JPA in an OSGi
> bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle).
>
> Craig
RE: JPA and OSGi
Posted by Loïc Cotonea <l....@gmail.com>.
Hi Craig,
I'm working on a project that use OSGI and JPA
(https://sourceforge.net/projects/torrentbroad). If you haven't found some
sample projects to show you how to integrate JPA then you can browse my
project here:
http://torrentbroad.svn.sourceforge.net/viewvc/torrentbroad/trunk/torrentyel
ler/. For your information, I'm using OpenJPA 2.0.0M3 (clean maven
integration and a good (the best ? :) ) JPA product).
Regards
Loïc Cotonéa
-----Message d'origine-----
De : Craig Ricciuto [mailto:cricciuto@symboticware.com]
Envoyé : mercredi 25 novembre 2009 15:22
À : users@felix.apache.org
Objet : JPA and OSGi
Hi. I've been trying for the past couple of days to get any kind of simple
example project working that uses JPA in an OSGi bundle being built with
Maven 2.
I've tried searching to my hearts content. I've even searched this mailing
list and any similar questions were answered with links I've already looked
at. The main two links I see the most being:
http://lsd.luminis.nl/jpa-persistence-in-osgi-with-openjpa/
http://lsd.luminis.nl/persistence-in-osgi-with-openjpa-part-2/
Now I know these are good resources but I'm still new to using OSGi and
those links don't use Maven but instead Ant, which I've never used before
except to try to build the projects that are linked on those two pages. Is
there anyone on here that could show me a Maven example using JPA in an OSGi
bundle (I'm using the Apache Felix Maven Bundle plugin to build the bundle).
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org