Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP acess problem
RAP acess problem [message #547102] Thu, 15 July 2010 15:13 Go to next message
zhuzekun  is currently offline zhuzekun Friend
Messages: 6
Registered: July 2010
Junior Member
when i deploy my rap application in the tomcat and run it, i found a question. i visit the program in one IE, submit a file and process it and display some in the browser, and when i revisit it in another IE or even in other computers, before i submit a file, the processed information are displayed in the browse. this means that the client's operation will affect other's. is it just what is going on?
Re: RAP acess problem [message #547191 is a reply to message #547102] Thu, 15 July 2010 21:33 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

your application probably stores user-specfic state statically, i.e. in
singletons or static fields. Consider using session singletons instead:

http://wiki.eclipse.org/RAP/FAQ#What_is_a_Session_Singleton_ and_how_can_I_implement_one.3F

Regards, Ralf

zhuzekun wrote:
> when i deploy my rap application in the tomcat and run it, i found a
> question. i visit the program in one IE, submit a file and process it
> and display some in the browser, and when i revisit it in another IE or
> even in other computers, before i submit a file, the processed
> information are displayed in the browse. this means that the client's
> operation will affect other's. is it just what is going on?
Previous Topic:My application have to handle function key F1 itself.How to do it?
Next Topic:The problem of TableViewer
Goto Forum:
  


Current Time: Tue Mar 05 15:38:49 GMT 2024

Powered by FUDForum. Page generated in 0.03210 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top