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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to