Author: Ralf Sternberg

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 see some code examples on the project page. We're using this...

Read More

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 on the open JSON protocol and supports alternative RAP clients. With...

Read More

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 famous for its performance. There are many better JSON libraries out...

Read More

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 write custom components that use the new protocol. During the past...

Read More

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 new Remote API. I saved this topic until last. It's...

Read More

While we are waiting for the RAP 2.0 release to be published on Monday, I’m introducing you to the most important changes in this major release. For today, I’ve picked a slightly trickier part of RAP: the server push. RAP has built-in server push support, and a brand new push API in 2.0. Let me use the opportunity to shed some light on this topic. [...

Read More

RAP 2.0 is approaching and I want to explain the most important changes in this short blog series. The key innovation of RAP 2.0 is its support for alternative clients. Today I'd like to introduce you to the new Client API that lets you find out which client is currently connected. This interface can also be used to access some of the client's specific features. [...

Read More

There’s only one week to go until the RAP 2.0 release. In this short blog series, I’d like to introduce you to the most important changes. Besides the new protocol, the main theme in RAP 2.0 is the consolidation of our APIs. After six years of RAP 1.x, it was time for a cleanup. In this post, I will explain the foundation of the RAP 2.0...

Read More

After more than six years of RAP 1.x, we will release version 2.0 on February 11. As the version number suggests, there are some substantial changes in this release. During the last few days before the release, I will guide you through the most important changes in RAP 2.0. It’s not so much about new features, but also about some realignments we made and the...

Read More

Last week Benjamin Wolff, a long-known RAP fellow, announced that he has just created an RWT plug-in for Grails. Grails is a ready-to-use web framework with some great featues such as a persistence layer with ORM, dependency injection, unit testing, and advanced web APIs. It comes with a command line that helps you create and run web applications and can also export them as .war files....

Read More