Author: Florian Waibel

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 from our poll started two years ago. The distribution is almost the same as...

Read More

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 thread's context class loader (TCCL). Therefore, it was not possible to...

Read More

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 a local temporary folder and grab the sample project from GitHub[1] $ cd...

Read More

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 specification is derived from the Spring Dynamic Modules project[2] which...

Read More

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. Extend Virgo Kernel 3.0 to support the RAP Widget Toolkit 1.5 Setup...

Read More

In this blog post I describe how to set up a cluster node with an embedded Jetty Server inside Equinox. Basically I followed the instructions available at the Jetty Wiki page Session Clustering Using a Database [1]. There are two Jetty configuration files involved: /etc/jetty.xml defining a JDBCSessionIdManager /WEB-INF/jetty-web.xml defining a JDBCSessionManager The main jetty.xml resides in the folder etc of the jetty.home.bundle which itself is a fragment of org.eclipse.jetty.osgi.boot....

Read More

First, a bit of news for developers following the Virgo project:  The release day for Virgo Maya is getting closer[1] with the successful RC1 release a few weeks ago. Meantime, in this blog post I'll describe another way of running RWT (the RAP Widget Tookit) based applications on the Virgo Jetty Server. I want to use Virgo's RFC66 support to deploy web applications in OSGi. The RFC66...

Read More

I just pushed a template for creating AspectJ applications with Tycho and will give you a quick tour of it here. You'll find the template on github [1] The template contains four infrastructure projects. One defines an OSGi command to calculate faculties and another contains an aspect to measure the duration of the calculation. Let's take a closer look. com.eclipsesource.weaving.demo.releng contains the Maven parent...

Read More

Only a few days remain until EclipseCon 2011 starts. We are eagerly anticipating our chance to present you an introduction to our ongoing research project Sovereign. The talk, "Migrating Java Threads to Improve Availability of Web Applications" demonstrates an innovative solution how RAP applications can run on a cluster for failsafe operation. After our first test run (75 minutes ;-) for a 20 minutes talk) we decided...

Read More