Friday, August 7, 2009

Mobicents JAIN SLEE 2.0.0.BETA1

The loooooooooong waited first BETA version of Mobicents JAIN SLEE 2.x is out!!!! JBoss AS 5, JAIN SLEE 1.1, better performance, it all there already. See the official release announcement.

Since the container now supports JAIN SLEE 1.1, the old scheme to include library jars in deployable units is not supported, instead you should create JAIN SLEE library jars, and too make it easier we developed a new Maven2 plugin, where, putting it simple, you just configure the library id, put classes/resources in usual places, define jars to be include as default scoped dependencies. You can even define references to other libraries using dependencies with runtime scope, and the plugin will grab the library id of the referenced library automatically. Needless to say, the plugin generates the library-jar.xml XML descriptor for you and makes the jar, cool uh? :) A complete wiki page about the plugin is on the works, but you can take a look at one example here.

The maven DU plugin was also updated to 2.0.0.BETA1, defining own packaging "jainslee-du", being faster on the build process, and generating JAIN SLEE 1.1 XML descriptors. The plugin now deploys DU jars into Maven repositories, which open new possibilities for a remote DU management, kind of a SLEE online component store. See an example using new version of this plugin.

On a side note, for this BETA version of the container, people used to deploy/undeploy deployable units through file copy, what we call hard deploy, need to include a jboss-classloading.xml file in the deployable unit META-INF such as this one. This is due to some incompatibilities in class loading of the underlying JBoss AS5 Microcontainer deployers.

See you soon for some posts about JAIN SLEE 1.1 new features.

PS: Next version, BETA2, will bring Fault Tolerance and new management console, scheduled to September of this year, hooraay ;)