Hi Charles, The answer is mixed. We currently don't package OpenJPA as a bundle in the pure Apache environment, but OpenJPA is packaged as an OSGi bundle when used as part of the WebSphere JPA solution. So, it is doable... ;-)
I also found this article on Developer Works [1]. Granted, this is also specific to WebSphere, but it again demonstrates that OpenJPA and Spring play nice together. >From past discussions on our forums, I know that Spring has been successful with OpenJPA. I just checked their website and I see that their latest release was updated to be consistent with a semi-recent release of OpenJPA 1.1.0 [2]. Hope this helps you feel more comfortable with using OpenJPA with Spring. Kevin [1] http://www.ibm.com/developerworks/websphere/library/techarticles/0810_asplund/0810_asplund.html [2] http://www.springsource.org/node/813 On Thu, Apr 16, 2009 at 2:22 AM, Charles Moulliard <[email protected]>wrote: > Hi, > > I would like to know if some users have already deployed and used OpenJPA > top of an OSGI server like ServiceMix Kernel (based on Apache Felix, Spring > OSGI and PAX) ? > > Is OpenJPA already available as OSGI bundles (I mean MANIFEST file of the > jars have been modified to import or export-package) ? > > Can I use OpenJPA in combination with Spring through by example > (org.springframework.orm.jpa.JpaTransactionManager) ? > > Regards, > > Charles > SOA Architect >
