Finished adding injection support in JSF managed beans. Currently, I have only tested it with tomcat 6.x and Sun JSF RI v 1.2 (Mojarra). Thanks DBlevins for very patiently answering all of my questions on IRC.
Any feedback is welcome. If you want to try other combinations like icefaces, ajax4jsf, richfaces, myfaces, etc also, then that would really be nice. Other versions of tomcat would also be interesting to get feedback on (v 5.5 ) How do you test it:- 1. Add jsf-api.jar, jsf-impl.jar and jstl-1.2.jar to <<tomcat-install>>/lib 2. Create a web-app 3. Create a EJB inside the web-app 4. Create a JSF managedbean and using annotations inject the EJB into a field/property etc. Make sure to provide the jndi name in the annotation 5. create a JSP and use the managed bean 6. send a request to the JSP If you can perform step 1, and then just need a web-app to play with, then you can download it from http://people.apache.org/~kmalhi/dummy.war The src directory in the above war contains the source code. Once you drop the dummy.war inside <<TOMCAT_INSTALL>>/webapps, you can then test it at http://localhost:8080/dummy/index.faces If you can add two numbers and can also see a greeting on the last line, that means it works. -- Karan Singh Malhi
