Hello!
This is propably a really dumb question but I am at a loss here and google has failed me.
I'd like to know whether or not ejb3 stateless session beans' instance variables can survive from one call to the next.
Say I have a stateless session bean that implements a webservice. One method modifies an instance variable (private to the sennion bean). Is there a chance that a subsequent call to a different method within that same bean can see the change to the variable?
Or are they really stateless so that each and every invokation of a method finds it's bean in the exact same state?
Many thanks for your insights,
Phil
HI, take a look on this topic:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951843#3951843
The answer is yes. Instance variables can survive from one call to the next.