[rules-users] 6.0 Alpha - Annotation Driven development with Multi Version Loading

Mark Proctor mproctor at codehaus.org
Sat Dec 15 04:03:47 EST 2012


http://blog.athico.com/2012/12/60-alpha-annotation-driven-development.html
-----
Drools & jBPM 6.0 alpha should be out end of next week.  6.0 introduces convention based projects that remove the need for boiler plate code - literally just drop in the drl or bpmn2 and get going. Further we now allow rules and processes to be published as maven artifacts, in maven repositories. These artifacts can either be resolve via the classpath or downloaded dynamically on the fly. We even support out of the box side by side version loading, via the maven ReleaseId conventions.

As a little taster here is a new screenshot showing the annotation driven development. The lines below are all that's needed to dynamically load a module from a local or remote maven repository and start working with it. KieSession is the new, shorter name, for StatefulKnowlegeSession. Kie is an acronym for "Knowledge Is Everything", but I'll talk about Kie in another blog, expect to start hearing a lot about it soon :)



And here is a complete example screen shot. Create the drl, define the kmodule and start using them.


(click image to enlarge)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20121215/f2a5deb9/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KSessionVersions.png
Type: image/png
Size: 59013 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20121215/f2a5deb9/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelloDave.png
Type: image/png
Size: 75640 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20121215/f2a5deb9/attachment-0003.png 


More information about the rules-users mailing list