This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there a place, where Statefull session bean CAN be injected?
 
Similar Threads
Help on Using Stateful Session Beans (SFSB) the right way
Session management and login
share stateful session bean among stateless session beans
Obsolete Design Patterns for EJB3 & SCEA 5
How to get Stateful bean from SessionFacade