Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Applications in RAP
Applications in RAP [message #894128] Fri, 06 July 2012 18:43 Go to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
RAP supports multiple applications that allow multiple entry points. From the Java doc, these applications can be looked up from the Platform, and we have one and only one workbench. Is it true to say that no matter how many entry points we have, they are all sharing one workbench and all the perspectives that are registered? Say, if I have two RAP applications, it would be wrong to assume that they can have their own perspectives without interfering each other, and work as if they are two separate RAP applications (but just a different URL)?

Thanks so much.

Ronald
Re: Applications in RAP [message #894547 is a reply to message #894128] Mon, 09 July 2012 14:58 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Ronald,

If you utilize the Eclipse Workbench in your RAP applications/entry-points then each user gets their own workbench instance, which gets stored in the user's HTTP session.
Calls like PlatformUI.getWorkbench() will return the instance of the workbench created for the particular user session asking.
Re: Applications in RAP [message #894549 is a reply to message #894128] Mon, 09 July 2012 14:59 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Ronald,

If you utilize the Eclipse Workbench in your RAP applications/entry-points then each user gets their own workbench instance, which gets stored in the user's HTTP session.
Calls like PlatformUI.getWorkbench() will return the instance of the workbench created for the particular user session asking.
Re: Applications in RAP [message #894550 is a reply to message #894128] Mon, 09 July 2012 14:59 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
Hi Ronald,

If you utilize the Eclipse Workbench in your RAP applications/entry-points then each user gets their own workbench instance, which gets stored in the user's HTTP session.
Calls like PlatformUI.getWorkbench() will return the instance of the workbench created for the particular user session asking.
Re: Applications in RAP [message #894636 is a reply to message #894128] Mon, 09 July 2012 22:22 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Ronald,

Multiple RAP applications are only supported for plain RWT applications
that don't use the 3.x workbench. There is only one single instance of
the extension registry that is shared between all applications.

> Is it true to say that no matter how many entry points we have,
> they are all sharing one workbench and all the perspectives that
> are registered?

It's true to say that all registered perspectives are shared among all
entrypoints. But there is one workbench instance per user session.

> Say, if I have two RAP applications, it would be wrong to assume
> that they can have their own perspectives without interfering
> each other ...

Right, that's not possible for workbench applications. If your
applications don't rely on the workbench, but only on SWT and JFace, it
is possible to have multiple completely isolated applications.

Regards, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Applications in RAP [message #894668 is a reply to message #894636] Tue, 10 July 2012 04:44 Go to previous message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Ralf & Austin, thank you so much for the clarification!

Ronald
Previous Topic:Super Tooltip
Next Topic:Tycho / WAR Product
Goto Forum:
  


Current Time: Sat Oct 16 00:25:30 GMT 2021

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

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

Back to the top