Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1815

OSGi integration test, using JPA and JNDI services from Aries

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: osgi
    • Labels:
      None

      Description

      The enclosed archive is a stand-alone Maven project with three bundles demonstrating the use of OpenJPA in an OSGi environment, using the Apache Aries JNDI and JPA services to retrieve the data source from the OSGi service registry via JNDI and to publish the EntityManagerFactory of the persistence bundle in the service registry.

      This project provides sample code for the setup strategy described in http://hwellmann.blogspot.com/2010/09/openjpa-and-osgi.html.

      There is also an integration test based on Pax Exam, so the whole lot could be incorporated into the OpenJPA test suite (after changing some paths and delegating some settings to a higher-level parent POM).

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            drwoods Donald Woods
            Reporter:
            hwellmann Harald Wellmann
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development