Hi Jarek,
that is correct, the OSGi JPA spec is agnostic of web bundles
altogether.
Now, in a servlet 2.5 webcontainer there are certain assumptions a
developer can make about how JPA works, including say injecting
persistence contexts. These we cannot satisfy from the Aries JPA
container. Instead this kind of support needs to be provided chiefly
by the webcontainer. Hence, as an initial starting point Tim and I
have decided to explicitly exclude WABs from being handled by our JPA
container. (Maybe the message should read "JPA support for WABs is not
covered by the OSGi JPA specification" to be clearer?)
The plan is then hopefully to reuse bits of our JPA container
implementation to facilitate adding JPA functionality to any given
OSGi webcontainer. Have you got a use case in mind for Geronimo?
Regards,
Valentin
On 26 Mar 2010, at 04:50, Jarek Gawor wrote:
Hi,
The Aries OSGi JPA implementation claims that "WABs that use JPA are
not supported as part of the OSGi JPA specification". I can't find any
such text in the OSGi JPA spec. Does anybody know where that's
described or why that is?
Thanks,
Jarek