File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes Server side state of a variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Server side state of a variable" Watch "Server side state of a variable" New topic

Server side state of a variable

Adi Vicks

Joined: Feb 23, 2012
Posts: 9
I am new to GWT infact new to server side coding. I am having a variable in the server which I use for multiple rpc call. Initial i set null to this variable and other rpc calls set the value.
My question is when another user opens another browser and call the server, will he get this variable value as null(new one)or he will get the value that the previous user/client call changed ?
Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Hi Adi,

Another user will get the value as null.


Vikram PracLabs
I agree. Here's the link:
subject: Server side state of a variable
It's not a secret anymore!