Ralf Sternberg

Ralf is committer and project lead of the Eclipse RAP project. At EclipseSource, he is responsible for the development of the RAP core library and helps customers to use the platform effectively.

Twitter Google+ GitHub 

Jul 29th, 2015

Patching Mobile Apps in Tabris.js

tabris.js-patches-ambulance

Imagine you’ve just published a new version of your app when you discover a critical bug that will render the app unusable for half of your user base. The fix may be simple, but rolling out another version takes some time for app store review and users to install the update. With Tabris.js, you can [...]

1 Comment
Jun 25th, 2015

RAP 3.0 Boosts Performance

Response Times

This week, the third major version of RAP, the Eclipse Remote Application Platform, has been released. As a major release, RAP 3.0 cleaned up deprecated API, allowing us to change and to optimize internals. I’m happy to report that we achieved a significant performance boost compared to 2.3. Before I go into details, let’s look [...]

Leave a Comment
May 8th, 2015

Towards Eclipse RAP 3.0: Getting ready for 2015

Today, the RAP project delivers the final milestone build on the way to RAP 3.0. With this new major release, we clean up deprecated API, include some new components, optimize performance and modernize the framework to make it ready for 2015. With the new support for re-parenting, RAP can now better support the E4 workbench [...]

Leave a Comment
Mar 4th, 2015

Unit Testing in RAP 3.0

When you test components of a RAP application, you have to simulate the environment that RAP UI code normally runs in. Thanks to a new API, this becomes easier in RAP 3.0. In an earlier post, my colleague Johannes explained how to write unit tests for RAP 2.x. This approach required more boilerplate code to [...]

Leave a Comment
Feb 16th, 2015

CollectionView: Display Data Sets in Tabris.js

CollectionView

The CollectionView is one of the most powerful widgets on iOS. On Android, there’s a similar widget called RecyclerView. Both widgets implement the same idea: they display a data set by creating only as many cells as fit on the screen and mapping the visible data items to these cells. The cells are then recycled [...]

4 Comments
Jul 4th, 2014

Do you know the SWT templates in Eclipse?

mainloop template

Often when I use SWT templates in a presentation, some people look amazed, so I thought it’s worth sharing. If you write SWT code and don’t know these templates yet, you may be wasting time typing the same code over and over again. Whenever you write an SWT snippet, you start with a Display, a [...]

Leave a Comment
Jun 13th, 2014

Ensure Class Library Compatibility in a Maven Build

When you build jars that are supposed to work with a specific JRE version, it’s not sufficient to set the correct compiler level. Even if the compiler creates byte code for a particular language version, your code may accidentally use API that is not available in the class library of this Java version, and the [...]

Leave a Comment
May 23rd, 2014

3 Good Reasons to Avoid Arrays in Java Interfaces

toArray performance

If you still find yourself defining methods like this public String[] getParameters(); in an interface, you should think again. Arrays are not just old-fashioned, there are good reasons to avoid exposing them. In this article, I’ll try to summarize the main drawbacks of using arrays in Java APIs. [ Looking for more tips on writing [...]

7 Comments
May 27th, 2014

Deploying RAP Applications Made Simple – Introducing the Virgo RAP Server

Yes, we love building modular web applications, if they just were easier to deploy on a server! Wrapping OSGi applications in WAR files, apparently still the most popular deployment option for RAP, results in a complicated setup: a web app containing an OSGi runtime together with all bundles, configuration, and a bridge servlet that delegates [...]

11 Comments