users@glassfish.java.net

Re: Service calls from/to OSGI WAB Hybrid applications have wron

From: <forums_at_java.net>
Date: Mon, 3 Dec 2012 13:22:54 -0600 (CST)

I have another question, the JPA Extender, does not as far as I know register
the entityManagerFactory of a JPA Bundle as an OSGI service. Therefore, if
any OSGi service call comes to the WAB that owns the persistence unit, it
will not be able to persist to database in any way (not even by attempting to
find the emf with the bundle context). Is the role of the JPA extender
supposed to be only to enhance entities?

--
[Message sent by forum member 'chejavara']
View Post: http://forums.java.net/node/892749