users@glassfish.java.net

Re: GF-embedded not loading/recognizing class annotated with ...

From: <forums_at_java.net>
Date: Thu, 7 Jul 2011 18:52:39 -0500 (CDT)

GF can deploy only a Java EE arifact. Which in case of the embedded
EJB container options are either an EAR file or a stand-alone EJB module.
To construct the former in the background out of all parts of the classpath
(minus GF jars that are recognized as such), add APP_NAME property to the
createEJBContainer(Map) call. To use the latter, you need the EJB module to
contain all the necessary pieces (persistence.xml being one of them).

 

HTH,

-marina


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