Posts tagged with "Single Sourcing"

Sep 24th, 2013

Execution of JUnit Tests in a Single-Sourced Application

PagesScreenSnapz022

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

raplite-website2

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

architecture

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

serviceReferencing

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

FileDialog

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

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

5 Comments
May 13th, 2010

Using Equinox Security in RCP and RAP

rcpsec_subject

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

11 Comments
Apr 18th, 2010

Name Your Workspaces

With Workspace names

Here’s a nice Helios feature that comes in handy when you often work with multiple workspaces simultaneously (as we recommend for developing single source application with RCP and RAP). If you do, you probably know this which-is-which guessing when looking at your taskbar (or window switcher): How can you distinguish your Eclipse instances? How can you [...]

4 Comments