Viggo Navarsete [
https://community.jboss.org/people/viggo.navarsete] created the
discussion
"Re: How does a @EJB dependency injection work on a Stateless Bean? Will that
injected class behave like an instance variable in that stateless session bean?"
To view the discussion, visit:
https://community.jboss.org/message/743610#743610
--------------------------------------------------------------
No, the "Testing Value" will not be there on the second request! But, it
shouldn't be too difficult for you to actually test it, or? But I would assume that if
you set a value on the simpleSingletonBean on the first request, then it would still be
there on the second request!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/743610#743610]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]