This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Server side state of a variable
jQuery in Action, 3rd edition