-
1. Re: EJB dependency injection
ssilvert Feb 12, 2007 10:17 AM (in response to pesho4uka)You didn't say what version of JBoss you were using, but dependency injection for JSF managed beans is only available for JBoss 5 and JBoss 4.2.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCDDL
This is a feature that has to be enabled by the container, so just using JSF 1.2 alone isn't enough. If you are already using JBoss 5 or JBoss 4.2, post a reply here.
Regards,
Stan -
2. Re: EJB dependency injection
pesho4uka Feb 16, 2007 8:40 AM (in response to pesho4uka)Hello, sory for the delayed replay but i am still interested in how to do this
dependency injection. I am using jboss 4.0.5 and also Myfaces last version i think 1.1.4. Is this dependency injection specifict to JSF 1.2? -
3. Re: EJB dependency injection
ssilvert Feb 16, 2007 9:32 AM (in response to pesho4uka)Yes, it is part of the JSF 1.2 spec. And actually, it is an optional feature. The only time it is required is for a JEE 5 compliant application server.
It won't work with JSF 1.1.
The feature will be available in JBoss 4.2 and JBoss 5.0.