Florian Waibel

Feb 27th, 2014

How to use Docker links to *safely* connect from a Virgo application to a MongoDB

Some months ago, the Docker Team announced Docker 0.6.5[1]. Since that release it is possible to give your container names – this makes it much easier to find the correct container to interact with. It didn’t take long that I got used to this new feature. Together with the freshly introduced explicit linking this is [...]

Leave a Comment
Nov 28th, 2013

Continuous Deployment with Docker and Virgo

The post “Automated installation of Virgo with Docker” described how to build and run a Docker container with Virgo inside. Today I’ll describe an easy way of continuously deploying applications into such a Virgo running inside an isolated Docker container. In a regular Virgo installation we would simply drop our application bundle into the pickup [...]

Leave a Comment
Nov 28th, 2013

Control Your OSGi Application at Runtime

engine_order_telegraph

It is a common procedure to read the initial configuration of a classic Java program from a file system properties file. Once the program is up and running, changes made to the configuration will be ignored unless you deliberately watch for changes to the properties file. OSGi runtimes provide a ConfigurationAdmin[1] to manage your initial [...]

1 Comment
Oct 25th, 2013

Automated installation of Virgo with Docker

A few weeks ago a friend of mine enthusiastically told me about Docker[1] in a lunch break. Yesterday he supported me in creating my first Dockerfile and it was an amazing experience I must admit. But let’s start at the beginning. What is Docker? Docker is a Linux Container Runtime, that runs Unix processes with [...]

4 Comments
Jun 19th, 2013

Look Mate, No Setters, No XML!

2104233_801fe7669e_q

Lately I had a discussion about setters that have been introduced for the sake of testability. Just to be able to replace the actual collaborator with a stub or mock. The discussion went something like this: S: “We could use a dependency injection in conjunction with the @Inject annotation with a container like Spring to [...]

1 Comment
Apr 17th, 2013

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

1 Comment
Apr 17th, 2013

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

1 Comment
Feb 14th, 2013

RAP 2.0 Available on Maven Central

5020665036_958795863c

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

Leave a Comment
Jan 18th, 2013

Deployment habits are changing at the speed of a container ship

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

Leave a Comment