[jboss-user] [JBoss Seam] - @EJB annotation support in seam
berkum
do-not-reply at jboss.com
Thu Jan 25 19:34:17 EST 2007
Hello.
I would like to know if it is possible to use the @EJB annotation with seam in order to inject ejbs. I have tried with the examples to replace the @In annotations with @EJB thinking they were quite the same but I am getting the following error when starting the server ( I replaced @In on user attribute in RegistrationAction of registration project). Anyone did it ?
Thanks
--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:ear=Registration.ear,jar=RegistrationEJB.jar,name=RegisterAction,service=EJB3
State: FAILED
Reason: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container RegisterAction: reference class: org.jboss.seam.example.registration.User ejbLink: not used by any EJBs
I Depend On:
persistence.units:ear=Registration.ear,jar=RegistrationEJB.jar,unitName=pocDatabase
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006614#4006614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006614
More information about the jboss-user
mailing list