Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
martin mucha
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic