Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » multi-user scenario
multi-user scenario [message #492648] Wed, 21 October 2009 09:03 Go to next message
salamat  is currently offline salamat Friend
Messages: 9
Registered: October 2009
Junior Member
Hallo,

I have programmed a RAP project and wanted to run this project on the
server Jetty. I have feature created and have exported. Everything
runs quite well. My problem is:

if I start my browser (connected to the server) and another one does the same, we both see the same presentation (my changes a visible also to the other instance of the browser). How can I avoid this (multiple user scenario)?

thanks
Re: multi-user scenario [message #492667 is a reply to message #492648] Wed, 21 October 2009 10:01 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi,

this heavily depends on your application. RAP itself was developed to
run each application in a separate context which is not shared to all
users. But if your applications stores data in a global way (think of
singletons or static fields) this data would be shared across all user
sessions. Depending on your use-case it may make sense to convert
singletons into session singletons (see SessionSingletonBase) and static
fields to instance fields.

How you do it really depends on your use-case. If you still have
problems, please be sure to post a little more information on how your
application is structured.

Regards,
Ben

salamat wrote:
> Hallo,
>
> I have programmed a RAP project and wanted to run this project on the
> server Jetty. I have feature created and have exported. Everything
> runs quite well. My problem is:
>
> if I start my browser (connected to the server) and another one does the
> same, we both see the same presentation (my changes a visible also to
> the other instance of the browser). How can I avoid this (multiple user
> scenario)?
>
> thanks
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:Bug 290248 - [Text] The default behavior of arrow keys doesn't work in some cases
Next Topic:Open views in new browser window
Goto Forum:
  


Current Time: Fri Apr 26 15:47:15 GMT 2024

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

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

Back to the top