Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP 3.0?
RAP 3.0? [message #1403999] Tue, 29 July 2014 05:46 Go to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Hi,

I see there is a RAP 3.0 planned, apparently for December. This implies
API breakage. How can I find out more about how this will affect me,
i.e., how will EMF's RAP integration be impacted?

I assume the Mars release train will include some RAP 3.x version and I
assume that the Luna service releases will include RAP 2.3.x releases or
perhaps a 2.4.x. Are these good assumptions?

Regards,
Ed


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: RAP 3.0? [message #1404009 is a reply to message #1403999] Tue, 29 July 2014 07:18 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Ed,
yes... Luna service releases will include RAP 2.3.x releases. Mars
release train will include RAP 3.1 version. RAP 3.0 is planned for
December. About API changes - all deprecated classes (API) will be
removed (most of them are already removed from master branch, upcoming
3.0M1). You could give the latest nightly [1] a try to see how EMF's RAP
integration is affected. As usual, we will provide a RAP 3.0 migration
guide (similar to 2.0).

[1] https://www.eclipse.org/rap/downloads/
Best,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 3.0? [message #1404010 is a reply to message #1403999] Tue, 29 July 2014 07:23 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
.... and in RAP 3.0 we discontinue IE7/8 support and maybe some other
(non CSS3 based) older browsers.

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 3.0? [message #1404012 is a reply to message #1403999] Tue, 29 July 2014 07:29 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

Good Morning Ed,

you are correct in your assumption that RAP 3.0 will contain some breaking API changes. When we did the last breaking upgrade to RAP 2.0 we maintained a document with all our changes, but this document is not yet ready for 3.0. The same applies for the planning: I will try to summarize the already known changes in a document and/or in the project plan.

All our scheduled versions can be found here:

https://projects.eclipse.org/projects/rt.rap/documentation

Luna will see updates to our currently released 2.3 stream, i.e. Luna SR1 will include RAP 2.3.1, and Luna SR2 next year will include 2.3.2. Even if we could update theoretically in SR2 to RAP 3.0 we don't have any plans in this direction.

RAP 3.0 is planned for this December, and (similar to RAP 2.0 a few years ago) we are planning to contribute RAP 3.1 to the Mars release next year.

Hope that helps for the moment.

Thanks,
Markus


--

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 3.0? [message #1404014 is a reply to message #1404009] Tue, 29 July 2014 07:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Ivan,

Thanks for the info. Our builds are pointing at RAP's nightly build,
and those have been picking up 3.x, which is why I noticed. (That's even
the case for the emf-maintenance build which is targeted for Luna SR0,
so that's bad.) At least the builds themselves haven't been failing, so
that looks promising.


On 29/07/2014 9:18 AM, Ivan Furnadjiev wrote:
> Hi Ed,
> yes... Luna service releases will include RAP 2.3.x releases. Mars
> release train will include RAP 3.1 version. RAP 3.0 is planned for
> December. About API changes - all deprecated classes (API) will be
> removed (most of them are already removed from master branch, upcoming
> 3.0M1). You could give the latest nightly [1] a try to see how EMF's
> RAP integration is affected. As usual, we will provide a RAP 3.0
> migration guide (similar to 2.0).
>
> [1] https://www.eclipse.org/rap/downloads/
> Best,
> Ivan
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: RAP 3.0? [message #1415635 is a reply to message #1404014] Wed, 03 September 2014 08:34 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Ivan,

I am currently trying to migrate from 2.3 to 3.0. Do you know when the RAP 3.0 migration guide will be available?

Best,
Matthias
Re: RAP 3.0? [message #1415645 is a reply to message #1415635] Wed, 03 September 2014 09:07 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Matthias,
I hope, it will be ready before RAP 3.0M3. Since them, do you have any
particular problems during the migration? If yes, ask here and I'll try
to help you. In RAP 3.0M1 all deprecated API have been removed -
basically in lifecycle package. The replacement is the new Remote Object
API introduced in RAP 2.1.
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 3.0? [message #1415650 is a reply to message #1415645] Wed, 03 September 2014 09:24 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Ivan,
thanks for your answer.

We wanted to have callbacks before and after a http request. Therefore we registered a PhaseListener:

RWT.getLifeCycle().addPhaseListener(impl)

which called our two methods:
a) beforeHttpRequest()
b) afterHttpRequest()


How would I now implement this feature? Also with the Remote Object API?
Re: RAP 3.0? [message #1415660 is a reply to message #1415650] Wed, 03 September 2014 09:49 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
the replacement (not completely) of PhaseListeners is MessageFilter,
which is currently internal, but we want to make it API for 3.0 release.
The concept is similar to servlet filter and can be added to
ApplicationContext(Impl). Please note that the filter is processes
outside the UI thread (SWT compatible mode) and there is no access to
display/widgets in it.
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 3.0? [message #1415664 is a reply to message #1415660] Wed, 03 September 2014 09:58 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
When I want to add a MessageFilter, I need to have the ApplicationContextImpl?!

Is this the right way to obtain it?
ApplicationContextImpl impl = (ApplicationContextImpl) RWT.getApplicationContext();
Re: RAP 3.0? [message #1415673 is a reply to message #1415664] Wed, 03 September 2014 10:20 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Yes... When we make it API the cast will not be needed.

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 3.0? [message #1416074 is a reply to message #1415673] Thu, 04 September 2014 09:19 Go to previous messageGo to next message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
Hi Ivan,
thanks for your help, I was able to migrate.

I have one more question:
we use the following code
WidgetUtil.getAdapter(tree).getId()


Is there now another way to get the id?
Re: RAP 3.0? [message #1416086 is a reply to message #1416074] Thu, 04 September 2014 09:42 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
org.eclipse.rap.rwt.widgets.WidgetUtil#getId( Widget )

HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP 3.0? [message #1416177 is a reply to message #1416086] Thu, 04 September 2014 13:45 Go to previous message
Matthias Nick is currently offline Matthias NickFriend
Messages: 197
Registered: August 2013
Senior Member
awesome, thank you very much
Previous Topic:Shell setMaximized issue
Next Topic:FileChooser and iPad
Goto Forum:
  


Current Time: Sat Apr 20 00:08:53 GMT 2024

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

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

Back to the top