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

OSGi integration test, using JPA and JNDI services from Aries

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.1
    • None
    • osgi
    • 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).

      Attachments

        1. openjpa-osgi-itest.tar.gz
          10 kB
          Harald Wellmann

        Activity

          People

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

            Dates

              Created:
              Updated: