JBoss Community

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?

created by Viggo Navarsete in EJB3 - View the full discussion

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

Start a new discussion in EJB3 at Community