Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4308

Seperate persistence context and Session-bean deployment to different cycles

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.0.5.GA
    • Deployers
    • None

      Trying to separate an EAR into modules:

      lib/persistent.jar <- includes the persistent units, references all jars including entities
      module1.ejb.jar
      module2.ejb.jar
      ...

      if module1 contains both references to the PC (from session beans) and entities, deployment fails due to circular reference:

      PC tries to gather entities from module1, but JBoss tries to resolve the PC refs from session beans while analysing the jar.

      currently possible layout:

      lib/persistent.jar
      lib/module1-entities.jar
      module1.jar

              dandread1@redhat.com Dimitrios Andreadis
              ron.piterman Ron Piterman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: