aspose file tools*
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: 11
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?