users@glassfish.java.net

Re: Library jar with JPA entity classes

From: <forums_at_java.net>
Date: Sun, 3 Apr 2011 12:16:35 -0500 (CDT)

I haven't tried that, but would it work as you would end up with the same EJB
deployed across different EAR's. You would also need to package the jar as an
EJB and not a plain lib. Ideally I would want the library jar to be possibly
used outside of the container (as permitted by JPA 2) and that wont work as
an EJB.


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