Skip to main content

EJB3 Dependency Injection vs Lookup

Posted by brianrepko on March 16, 2005 at 5:00 PM PST

I put together an initial list of issues that I have with the use of injection for EJB dependencies one night because I couldn't sleep. In short, there are so many issues that I feel it should be removed and replaced with dependency lookup through the context object. Anyway, a co-worker of mine told me about 3 weeks ago that he was going to the TSS conference. So, I polished off the paper so that he could share with all the EJB3 and Spring folks out there. I don't what the reaction was, but I must say that it was good for me to clarify the issues. I wanted to put the paper on the blog and will also email to the JSR feedback email. I feel a bit like Martin Luther posting his 95 theses. You can find the paper here. Comments are very welcome.

Related Topics >>