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?
as
 
class 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.

Reply via email to