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.
Modules
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)
Endpoints
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
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:
GCS
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.
Channel
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: http://www.meetup.com/DC-JBug/events/128068042/
Blogs
Markus Eisele posted a nice overview of CapeDwarf:
Anyway, enjoy the new release! Feedback welcome as always.