Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Applications in RAP
Applications in RAP [message #894128] Fri, 06 July 2012 14:43 Go to next message
Eclipse UserFriend
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 10:58 Go to previous messageGo to next message
Eclipse UserFriend
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 10:59 Go to previous messageGo to next message
Eclipse UserFriend
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 10:59 Go to previous messageGo to next message
Eclipse UserFriend
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 18:22 Go to previous messageGo to next message
Eclipse UserFriend
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 00:44 Go to previous message
Eclipse UserFriend
Ralf & Austin, thank you so much for the clarification!

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


Current Time: Sun Jul 06 10:03:05 EDT 2025

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

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

Back to the top