users@glassfish.java.net

Re: Deploying EJB3 Session Bean from external JAR file

From: <glassfish_at_javadesktop.org>
Date: Fri, 23 Nov 2007 07:14:35 PST

>I have tried this without success. This mechanism seems to aim at beans which classes >files are available on the root folder structure of the ejb-jar. If the bean is packed in a >separate JAR file on the ejb-jar classpath, the deplyoment error still reads:

EJB bean classes are typically packaged inside ejb-jar files. This is what this component archive type is for. When the EJB bean impl class is outside of ejb-jar file, it cannot be reached for annotation processing so any annotations are ignored. As a result, your BBean is not treated as an EJB.

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

http://forums.java.net/jive/thread.jspa?messageID=246937