posted 14 years ago
The rule on injection is that you can't inject an object whose lifespan is shorter than the target.
JSF is not very friendly to request-scope objects, however, so you can't use them as often as you would in most web frameworks.
Injecting EJBs into JSF backing/managed beans is possible, but rarely a good idea, since you're injecting a specific instance statically declared, and most of the time you want the EJBs to be more dynamic than that.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer