-
1. Re: Can I use @EJB-style dependency injection in a Servlet w
starksm64 Jun 29, 2006 2:12 PM (in response to smokingapipe)The servlet side injection is still in progress.
-
2. Re: Can I use @EJB-style dependency injection in a Servlet w
smokingapipe Jun 30, 2006 4:27 AM (in response to smokingapipe)Thanks Scott. That explains why that method wasn't working in my code!
Then I have a couple more questions:
What's the best way to manage my InitialContext? Should I maybe create it in the constructor of my JSF backing bean?
Second question: I notice that you are with RedHat and the JBoss project. I am aware that RH has been putting a lot of support behind efforts to create a full open source Java stack, including gcj and Gnu Classpath. Are we at some point going to have a full open-source Java stack (gcj) that can compile Tomcat and JBoss so we can use the whole thing without Sun's Java? I hope so! And even if we don't, I think gcj is great. I have done some small testing of it and am very impressed.
Thanks -
3. Re: Can I use @EJB-style dependency injection in a Servlet w
berkum Feb 3, 2007 11:31 AM (in response to smokingapipe)Finally found this post. I am currently using Jboss 4.0.5 GA and I can't inject ejbs from servlets. Is this something you plan in the near future or as it been fixed and I am simply not using it correctly ?
Thank you.