Posts tagged with "Single Sourcing"

Oct 29th, 2015

iCTeam RAP Migration – Case Study from BOSCH


  This post is an example of how a complex RCP application can be easily adapted for the web by single sourcing it with RAP. Bosch India has single-sourced its desktop product iCTeam with RAP in order to provide end customers with easy web access and a consistent experience across desktop and web. As a [...]

Leave a Comment
Sep 24th, 2013

Execution of JUnit Tests in a Single-Sourced Application


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 [...]

Leave a Comment
Apr 12th, 2013

The D.I.Y. RAP Client Construction Kit


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 [...]

Leave a Comment
Oct 12th, 2012

Playing Video in a Single-Sourced RAP/RCP Application


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 [...]

Leave a Comment
Jul 8th, 2011

Single-Sourcing with declarative services


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 [...]

1 Comment
Jun 23rd, 2011

Uploading files with RAP 1.4


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 [...]

Jun 20th, 2011

Using OSGi services to single-source an RCP and RAP Application

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 [...]

May 13th, 2010

Using Equinox Security in RCP and RAP


I finally had the time to care about one of my outstanding tasks – provide a tutorial and example how to use Equinox Security. While the tutorial was initially targeted for RAP users, I also added a launch config and a target definition for RCP as the code is the same for both runtimes. The [...]

Leave a Comment
Apr 20th, 2010

Drawing with RAP? Yup!

Nebula PShelf on RAP

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 [...]