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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...