Single Sourcing Tag

We are proud to announce the release of Tabris for Eclipse RAP 3.6. From now on, the Tabris for Eclipse RAP version number will be bound to the version of Eclipse RAP it corresponds to.  This is a major release, which includes a significant advance in the framework architecture. On the client side it now uses Tabris.js, which has the following benefits over the previous...

Read More

One strength of Eclipse is the possibility to use the same code on desktop clients as well as in web clients. The same application can run as an installed desktop application and in the web browser, with only few adjustments for both platforms. In our experience, about 80% to 90% of the code can run in both environments, if some guidelines are followed (i.e. no...

Read More

Since RAP 2.0 has fully implemented the JSON-based RAP Protocol I was eager to test it's full potential myself. The Tabris clients for Android and iOS already exist and others may follow, but as I'm mostly at home in the browser that's where I would like to use it. The Vision My idea was to create a highly modular and especially flexible client that supports only a...

Read More

This post outlines the challenges we encountered when implementing video playback in a single-sourced [1] Eclipse RCP/ RAP [2] application. Our team at EclipseSource is developing medical software which runs both as a web application and an Eclipse RCP application. Hospitals are using this tool as part of the patient’s briefing. During the briefing, the patient is informed about the medical treatments he is going to...

Read More

In my last blog post I introduced the idea of using OSGi services for single sourcing a RAP/RCP application. I think this approach is quite elegant, but it has one major drawback. When you use normal OSGi services in your application you will mix your application code with the OSGi Framework code everytime you reference or register a service. Not only does this look ugly,...

Read More

One of the new things in RAP 1.4 is the FileUpload widget in RWT, that replaces the old Upload widget from the sandbox. And there's some more new upload stuff in the RAP Incubator. Here's how to use the new features to upload files with RAP 1.4. The FileUpload is a new widget that wraps the HTML file selection <input> tag. It looks like a button,...

Read More

Probably one of RAP’s best known features is its single-sourcing capabilities. Some time ago we created a guide on Single-Sourcing RCP and RAP applications. The guide recommended a technique where a facade and fragments were used to invoke the RCP or RAP implementation during runtime. With this post I want to show you how to achieve the same the OSGi way. For single-sourcing a RAP or...

Read More

I have to admit, I'm a little nervous what happens with the RAP community after this post. At least for me, the last days were pretty exciting. Some days ago, Ivan from the RAP team committed the initial support for a GC (GraphicsContext) for RAP. Currently restricted to the Canvas widget, the GC provides thousands of new use cases for RAP applications. The work by...

Read More