Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

martin mucha
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic