Hi,

As you plan to use ORM top of OSGI framework like Apache Felix (and
maybe Apache Karaf or ServiceMix), I suggest that you have a look to
Apache ARIES project which propose a JPA implementation based on OSGI
EE specification.
You can find info here : http://incubator.apache.org/aries/ &
http://incubator.apache.org/aries/jpaproject.html

Examples can be find here : http://incubator.apache.org/aries/samples.html

I have personaly used Hibernate + Spring on Apache ServiceMix
successfully but will considering to use in the future JPA with
OpenJPA or EclipseLink.

When you will select a product, check that the features/functionality
provided will correspond to your expectations because sometimes the
behavior of an ORM is not the same as another.

Regards,

Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - Karaf - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard



On Mon, Sep 13, 2010 at 9:29 AM, Jim Talbut <[email protected]> wrote:
> I've used OpenJPA 2.0 with OSGi, though only in as yet unreleased projects so 
> there may be things I missed.
> I found it much simpler to get going in OSGi than Hibernate (which was my 
> first attempt).
> I strongly recommend giving OpenJPA a go - I've switched to using it in my 
> non-JPA projects too now, partly because I only want to work with one ORM and 
> partly because I find OpenJPA better documented than Hibernate with JPA (the 
> documentation for Hibernate with JPA tends to relate everything to the normal 
> behaviour of Hibernate, which isn't much help if you don't know that).
>
> Jim
>
> -----Original Message-----
> From: LongkerDandy [mailto:[email protected]]
> Sent: 11 September 2010 13:03
> To: [email protected]
> Subject: ORM Framework Suggestions
>
> Hi
>
> I'm been try to use DataNucleus/JDO with felix, but no success.
> There are some ClassNotDefine exception which I think is something about
> classloader.
>
> I may able bypass this, but since most JDO/JPA framwork are based on
> classloader.
> I wonder if there are any better way to do the ORM thing with OSGi.
> And if anyone has some successful story with it.
>
> Regards
> LongkerDandy
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to