1 Reply Latest reply on Apr 4, 2012 6:00 AM by David Ovington

    OpenJPA example

    David Ovington Newbie

      Hi, my first post here...

       

      I'm looking for a simple example of using OpenJPA ORM inside ServiceMix.

       

      I'm pretty sure a good way to do this is to have the following bundles:

      1. Bundle initiating and exposing DB connection pool

      2. Bundle with DAL implementations of ORM classes, exposing interfaces... using the exposed DB pool bundle.

      3. Bundle(s) of business logic using the DAL bundle.

       

      a great example would also use spring-ORM configured to OpenJPA I think.

       

      any thoughts / links gratefully received !