Darran Lofthouse [https://community.jboss.org/people/dlofthouse] 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/792557#792557

--------------------------------------------------------------
> Is there any thing that i'm missing here?

You never assign a new value to mRequestCount so it will always return 0+1. You 
are probably looking for ++mRequestCount.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/792557#792557]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to