wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Is there a place, where Statefull session bean CAN be injected? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Is there a place, where Statefull session bean CAN be injected?" Watch "Is there a place, where Statefull session bean CAN be injected?" New topic
Author

Is there a place, where Statefull session bean CAN be injected?

martin mucha
Greenhorn

Joined: Feb 14, 2011
Posts: 9
Hi,

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...

Question two:
Is there a better way of using SFSB, than looking it up from JNDI and then storying reference in session?

thanks in advance
martin.
 
 
subject: Is there a place, where Statefull session bean CAN be injected?
 
Similar Threads
Obsolete Design Patterns for EJB3 & SCEA 5
share stateful session bean among stateless session beans
Help on Using Stateful Session Beans (SFSB) the right way
Session management and login
How to get Stateful bean from SessionFacade