JUnit – the Difference between Practice and @Theory
Lately a colleague showed me how to improve JUnit tests written for a distance calculator. Speaking with other developers I found out that the majority wasn’t aware of the undocumented @Theories Runner which can be found in an experimental package in JUnit, so I decided to share this valuable “experiment”. In contrast to the parameterized [...]
Updated Tutorial: Developing Web Application Bundles with RAP and Virgo
This is just a heads up for those interested in developing RAP applications with Virgo. I finished updating our tutorial to RAP 2.0 and Virgo 3.6.x (aka Sky). The first part guides you through the setup of your Eclipse IDE and Virgo Jetty Server. The second part is a short walkthrough on how to create [...]
RAP 2.0 Available on Maven Central
Hot on the heels of the release of RAP 2.0 the bundles have been uploaded to Maven Central. Time for another coffee break with RAP and Maven. Before you get your coffee grab the updated sample project from GitHub[1]. $ cd /tmp $ git clone git://github.com/eclipsesource/rap-maven-examples.git and trigger the Maven action: $ cd rap-maven-examples/com.eclipsesource.rap.examples.maven $ [...]
Deployment habits are changing at the speed of a container ship
Thank you very much for participating in the survey “How will you run your RAP application in 2013?“. Very interesting results. Deployment habits seem to be rather conservative in the environment of RAP. image from http://www.flickr.com/photos/danramarch/2875308394/ During the last few weeks we collected around 150 replies. First I thought I was looking at the results [...]
How will you run your RAP application in 2013?
In late 2010 we asked “How do you run your RAP application today ? (2010)“. In those days most installations were WAR deployments (>50%) running in a plain Tomcat/Jetty container or an application server (Poll results). I’m curious to see if the landscape of RAP installations has changed over the last two years… and would [...]
Running RAP 2.0 powered Web Application Bundles (WAB) on Virgo
With the latest RAP 2.0 milestone M2[1], you can run RAP based Web Application Bundles (WAB) with the unmodified RAP artifacts installed into your Virgo Jetty Server[2]. No more Eclipse buddy classloading required as noted in a previous post. Before version 2.0 M2, the RAP framework did not try to load configuration classes from the [...]
RAP on the Quick: The pure Maven Way
Lately I was talking with a colleague if it is possible to kickstart a RAP standalone “Hello World” example in less than a coffee break(*). Well it depends… on the content of your local Maven directory and/or your internet connection. To make this happen you should postpone getting your coffee for now. Just go to [...]
How to create blueprints for your OSGi building blocks
With OSGi we are able to implement building blocks for modular applications. Dependency injection frameworks support us in writing flexible, testable and clean code. The “Blueprint Container Specification” defines a dependency injection framework to build applications that run in an OSGi framework. The specification was added in version 4.2 to the OSGi compendium Specification[1]. This [...]
Developing RAP applications with Virgo
This post shows how to develop RAP applications with Virgo. The first part guides you through the setup for a Virgo Server instance and how to extend it to become a RAP runtime. The second part is a short walkthrough of how to create a Hello World RAP application using the new RAP OSGi integration. [...]



