Is there a place, where Statefull session bean CAN be injected?
posted 4 years ago
maybe this will sound like stupid beginner question. Maybe it is, I hope it is not.
I think I'm aware of most details concerning aspects of SLSB and SFSB and understand why one must not inject SFSB into stateless context. Well, but can someone then show me one valid place, to which it is correct to inject SFSB (or use case requiring this action)? I can't come up with one. Is there one or just injection of SFSB makes no sense? There should be when such injection is supported...
Is there a better way of using SFSB, than looking it up from JNDI and then storying reference in session?