[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [eclipselink-users] OSGi: Comics DB CRUD example updated
- From: "Tim Hollosy" <hollosyt@xxxxxxxxx>
- Date: Fri, 15 Aug 2008 06:10:58 -0400
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Zj9JflUXQgds4CC0gTUB0xSKXgKaSXnEJtSuRWQbUfIcnqOgcAPOZ8KJvPFK0pWqvI WEGg2TWvQYsh0mj37eUenqoj8Z60p+Fe3/fFz6V3mNgweZqS6JqUb6cbt7SXAmykZFnF aKMAZMRzpCdPQEpuZ2/3MetAcxmTFQynZHuBg=
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
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 ?
> 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: https://bugs.eclipse.org/bugs/attachment.cgi?id=109922
> View this message in context: http://www.nabble.com/OSGi%3A-Comics-DB-CRUD-example-updated-tp18969242p18981610.html
> Sent from the EclipseLink - Users mailing list archive at Nabble.com.
> eclipselink-users mailing list