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 thread’s context class loader (TCCL). Therefore, it was not possible to put the RAP libraries outside of your WAR file or use WABs with unmodified RAP artifacts.

With Bug 367033[3] solved it has become very easy to develop Web Application Bundles with RAP. We’ve prepared a short tutorial[4] and a small example at GitHUB[5].

We invite you to take a look at our new tutorial, clone the example code “com.eclipsesource.rap.examples.helloworld.webbundle” and give it a try …

[1] 2.0 M2 Milestone Build – http://www.eclipse.org/downloads/download.php?file=/rt/rap/2.0/rap-2.0.0-M2-20121001-1623.zip
[2] Virgo – http://www.eclipse.org/virgo/
[3] Bug 367033 – RWTServletContextListener should use context class loader to load configurator class https://bugs.eclipse.org/bugs/show_bug.cgi?id=367033
[4] Tutorial: Developing Web Application Bundles with RAP and Virgo – http://eclipsesource.com/blogs/tutorials/developing-web…-rap-and-virgo/
[5] WAB example using RAP – https://github.com/eclipsesource/rap-virgo-examples

Comments are closed.

No responses yet

Written by . Published in Categories: Planet Eclipse, Planet OSGi