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)