[jboss-user] [EJB 3.0] - EJB3 inside a WAR

lucdew do-not-reply at jboss.com
Fri Aug 1 12:40:52 EDT 2008


i am new to EJB3 and i would like to know if JBoss AS 4.2.X supports packaging of an EJB3 inside a War file.

I annotated an interface and its implementation with respectively @Remote and @Stateless annotations and packaged the classes in a jar file. The jar file is in turn packaged in the WEB-INF/lib directory of my WAR file. 

I deployed the war file but the session stateless EJB does not seem to be discoverd at deployment time. So is it possible to package an EJB3 in a war file ? Are there any requirements for this ? Do i have to declare them in the jboss-web.xml or create an ejb-jar.xml file ?

Thanks for your help,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168231#4168231

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168231

More information about the jboss-user mailing list