Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Updating all users' view using server-push
Updating all users' view using server-push [message #127588] Wed, 08 April 2009 07:04 Go to next message
Eclipse UserFriend
Originally posted by: ben.fern.yahoo.com

Hello,

Here is my problem : I'd like to update a view's tableviewer of all others
users that have the same view displayed in their browser.

In fact, I have a view (Tableview) which has a tableviewer (filled with
object from a database). In this tableviewer, I have modify and delete
actions.
So when USER1 (for example) uses these actions, I'd like to update
automatically USER2's Tableview as a consequence.
I though about using server push for doing that.

Do you think that it is the correct way to do it?
If yes, could show me the way to use server-push (considering I already
read this topic :
http://www.eclipse.org/newsportal/article.php?id=5975&gr oup=eclipse.technology.rap#5975).


Thank you all.
Re: Updating all users' view using server-push [message #127709 is a reply to message #127588] Thu, 09 April 2009 08:40 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Ben,

are you aware of the UICallBack helper class? You can use this to
enable server-push behavior, i.e. allowing automatic UI-updates by
server side background threads. This way, the UI of USER2 can be updated
even without an explicit user interaction of this user.

Best regards, Ralf

> Here is my problem : I'd like to update a view's tableviewer of all
> others users that have the same view displayed in their browser.
>
> In fact, I have a view (Tableview) which has a tableviewer (filled with
> object from a database). In this tableviewer, I have modify and delete
> actions.
> So when USER1 (for example) uses these actions, I'd like to update
> automatically USER2's Tableview as a consequence.
> I though about using server push for doing that.
>
> Do you think that it is the correct way to do it?
> If yes, could show me the way to use server-push (considering I already
> read this topic :
> http://www.eclipse.org/newsportal/article.php?id=5975&gr oup=eclipse.technology.rap#5975).
Previous Topic:3rd party jar, war deployment
Next Topic:Bug in ToolBar/ToolItem?
Goto Forum:
  


Current Time: Sun Jan 29 09:31:48 GMT 2023

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

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

Back to the top