Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] OSGi: Comics DB CRUD example updated

There is not another solution yet for OSGi, people are working on the
sharing of entities over bundle barriers though. Also, you can take
this example and refactor it to make it more modular.

We use this method for 2 or 3 RCP app's supporting about a hundered
users in a business environment and the only code reuse we run into is
Entity Objects.

We have a common EntityManagerFactoryFactory that knows how to config
an EntityManagerFactory as well as common "Model" classes that contain
common methods such as selectAll, getNamedQueryResults, save, isDirty,

Thanks for the feedback though,we also look forward to being able to
share entities via OSGi, however I don't believe this limitation makes
EL unusable for many usecases.


On Fri, Aug 15, 2008 at 4:58 AM, djo.mos <djo.mlists@xxxxxxxxx> wrote:
> Kudos for this :D
> But, this demo is based on the static style, where entities, the DAOs,
> persistence.xml and the management of the EM is centralized in the same
> location, obviously not the philosophy of OSGi.
> Isn't there any example showing a more dynamic scenario ?
> Cheers,
> Jawher
> Tim Hollosy wrote:
>> For the people looking for osgi examples; the new version of the
>> bundles that works with 1.0 of eclipselink has been updated.
>> Download at:
> --
> View this message in context:
> Sent from the EclipseLink - Users mailing list archive at
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx

Back to the top