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