openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harald Wellmann (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1815) OSGi integration test, using JPA and JNDI services from Aries
Date Sun, 26 Sep 2010 09:08:32 GMT
OSGi integration test, using JPA and JNDI services from Aries
-------------------------------------------------------------

                 Key: OPENJPA-1815
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1815
             Project: OpenJPA
          Issue Type: Test
          Components: osgi
    Affects Versions: 2.0.1
            Reporter: Harald Wellmann


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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message