Can someone answer it please.
Thank you.
tom chen <[EMAIL PROTECTED]> wrote:
tom chen <[EMAIL PROTECTED]> wrote:
Hello All,I published an application scoped.service. why does the service object not keep the object's state. There is only one object created?asclass AService{private int lastValue=0;public void setLastValue(int v){lastValue=v;}public int getLastValue(){return lastValue;}}calling
setLastValue(100);
getLastValue(); return 0
etLastValue(200);
getLastValue(); return 0
why?? Please help me.
Thank you very much!
--tom
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com