Red Hat

Modules, Endpoints, SQL, GCS, new Channel impl, … aka new CapeDwarf 1.0.0.Beta6

Modules, Endpoints, SQL, GCS, new Channel impl, … aka new CapeDwarf 1.0.0.Beta6

Modules, Endpoints, SQL, GCS, new Channel impl, … aka new CapeDwarf 1.0.0.Beta6

As you can see from the title, and from a bit late release, we’ve again been very busy.

Let’s just go over all new features.


There is a bit of limitation on our end here, as there is no (easy / nice) dynamic way (to my knowledge) to scale up / down virtual servers (at runtime during deployment phase) in JBossWeb that comes with JBossAS7 (which is what we use). In order to use Modules with CapeDwarf, you must use “standalone-capedwarf-modules.xml” configuration when you startup CapeDwarf AS instance.

You must also configure the number of virtual servers to match your application’s modularization. See web subsystem configuration in “standalone-capedwarf-modules.xml” for more details.

(or simply ping me for any Modules questions - via forums, email, Twitter or Freenode IRC #capedwarf)


We’ve managed to map GAE’s Endpoints annotations to JAXRS/RestEasy annotations, and we also support custom serialization.

In our case / implementation we only need .api files as markers, and not to read any information from it — you can have a single .api dummy file if you like.


SQL was of course supported out-of-the-box for us. We we just had to hack GAE’s Driver class to connect against selected DataSource:


FileService is being deprecated in favor of Google Cloud Storage (GCS) API. At the moment dev / local implementation of the GCS client library still goes against FileService implementation, so supporting this was easy, as we already fully implemented FileService API.


We re-implemented Channel API.

Big thanks to @chrisritter for kicking our butt to do this, and contributing a simple but cool chat app for testing purposes: SimpleChat.

Also thanks to Karel for stepping up and fixing Arquillian Drone so we can finally automagically test this.

JavaOne 2013

Don’t miss my presentation at JavaOne — Tuesday 24th September at 11:30am, Parc55.

Or my previously mentioned DC JBUG talk:


Markus Eisele posted a nice overview of CapeDwarf:

Anyway, enjoy the new release! Feedback welcome as always.

Ales Justin

Ales Justin was born in Ljubljana, Slovenia and graduated with a degree in mathematics from the University of Ljubljana. He fell in love with Java long ago and has spent most of his time developing information systems, ranging from customer service to energy management. He joined JBoss in 2006 to work full time on the Microcontainer project. He currently leads CapeDwarf project, while still contributing to ApplicationServer, Weld, Ceylon and many other JBoss projects.

Location:  Vrhnika, Slovenia

Occupation:  JBoss CapeDwarf Lead

back to top