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 

Apr 11th, 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. Let me start with the perhaps most [...]

7 Comments
Mar 26th, 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 [...]

7 Comments
Dec 20th, 2013

RAP 2.2 is available

Markup in tooltips

Looking back on another eventful year for the RAP project, today we’re proud to publish the results in a new release, RAP 2.2. Let’s have a look at the highlights: Client-side Scripting We started off the work on RAP 2.2 with integrating the ClientScripting from the Incubator project into RWT. With this new feature, you [...]

Leave a Comment
Dec 6th, 2013

Run UI tests in the background on Linux

UI tests on a virtual display

When you run JUnit tests that open windows and dialogs, all these windows pop up on your screen like fireworks, making your desktop unusable for minutes. If you’re lucky enough to work on Linux, there’s an easy way to get rid of all the flickering. You can simply redirect your UI tests onto a virtual [...]

3 Comments
Nov 27th, 2013

Minimal JSON 0.9.1 available on Maven Central

JSON parser benchmark

Earlier this year I’ve introduced Minimal JSON, a slim and fast Java library for reading and writing JSON. In contrast to object mappers such as Gson or Jackson, Minimal JSON does not more than reading a JSON text into a memory-efficient Java representation that can be accessed, modified and serialized to JSON again. You can [...]

Leave a Comment
Jun 27th, 2013

RAP 2.1 Released

RAP 2.1

As every year in June, the RAP project has released a brand new version together with the annual Eclipse release. Last year, we shipped RAP 1.5 with Eclipse Juno, this time we’re already onto Release 2.1. A lot has been going on in the meantime. In February we released RAP 2.0–the first release that builds entirely [...]

8 Comments
May 23rd, 2013

A Fast and Minimal JSON Parser for Java

Overall performance

In the RAP project, reading and writing JSON are critical operations, since the server processes and creates JSON messages for a large number of clients at a high rate. For this reason, we need something fast for this job. When we switched to JSON, we included the org.json parser, which is reasonably small but not [...]

12 Comments
Feb 11th, 2013

RAP 2.0 Launched Today

RAP 2.0

The Eclipse RAP Project has just launched its long-awaited 2.0 version. With this release, the project has changed its name to “Remote Application Platform” to indicate the transition from a browser platform to a universal platform for remote applications. RAP 2.0 supports alternative clients and has new APIs to distinguish between clients, access client-specific features, and [...]

6 Comments
Feb 11th, 2013

RAP 2.0 Countdown (5/5)

custom

Today’s our big day: RAP 2.0 is being released. Here’s my last post in this RAP 2.0 series. In my first post, I wrote about the new JSON protocol and how it connects the half objects on client and server. The question is, can you leverage this protocol for custom add-ons? You can, using the [...]

4 Comments