-
1. Re: Injecting EJB into JSF Managed Bean
dunks80 May 4, 2006 8:31 AM (in response to yakamax)I'm pretty certain that (for now) you can only use the @EJB annotation from within another EJB.
-
2. Re: Injecting EJB into JSF Managed Bean
yakamax May 4, 2006 8:36 AM (in response to yakamax)Oh ! But look this :
http://blogs.sun.com/roller/resources/alexismp/EJB3demo.html
Do you know how make properly with lookup() in a JSF Managed Bean ? Use Locator ?
thank you ! -
3. Re: Injecting EJB into JSF Managed Bean
yakamax May 4, 2006 8:49 AM (in response to yakamax)@EJB annotation is not supported yet :
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=79600 -
4. Re: Injecting EJB into JSF Managed Bean
yakamax May 4, 2006 8:50 AM (in response to yakamax)Is not supported yet IN WAR !! >> @EJB works from within another EJB in .jar (I hope :p)
-
5. Re: Injecting EJB into JSF Managed Bean
dunks80 May 4, 2006 8:54 AM (in response to yakamax)Yes it should be working between EJBs in a jar. At least I've been able to inject one session bean into another session bean using the @EJB annotation. Which leads me back to my post here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82224 asking why this does not seem to work when trying to inject a session bean into an entity bean using the @EJB annotation.
-
6. Re: Injecting EJB into JSF Managed Bean
yakamax May 4, 2006 8:59 AM (in response to yakamax)Thank you very much Dunks !!