EasyBeans

Introduce new bundle type Persistence Archiv

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: EasyBeans 1.1.0
  • Fix Version/s: None
  • Component/s: OSGi
  • Description:
    Hide
    please introduce a new bundle type: someting like a "Persistence Archiv",
    whose Activator should create an EntityManagerFactory and publish it as an OSGi service, so that multiple EjbJar bundles can use it.

    then some EJB bundles can use the same EntityManagerFactory for a given persistence unit

    at the moment all must be in one bundle - otherwise all wills ends up with EZB creating multiple EntityManagerFactory, thus one may have some kind of incoherent view of your datas.

    (as discussed by mail with Guillaume)

    thanks ekke
    Show
    please introduce a new bundle type: someting like a "Persistence Archiv", whose Activator should create an EntityManagerFactory and publish it as an OSGi service, so that multiple EjbJar bundles can use it. then some EJB bundles can use the same EntityManagerFactory for a given persistence unit at the moment all must be in one bundle - otherwise all wills ends up with EZB creating multiple EntityManagerFactory, thus one may have some kind of incoherent view of your datas. (as discussed by mail with Guillaume) thanks ekke
  • Environment:
    Eclipse 3.4, Equinox 3.4, EZB OSGI 1.1.0 Snapshot, OSX 10.5.4, JDK 1.5

Activity

People

Dates

  • Created:
    30/Jul/08 2:05 PM
    Updated:
    30/Jul/08 2:05 PM