Saturday, December 15, 2012

6.0 Alpha - Annotation Driven development with Multi Version Loading

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)


4 comments:

  1. Hi! I am looking into running jBPM in a OSGi. jBPM 5.4 (or better 6.0). Do you know/have any pointer to working/running example on internet or git repo. Thanks!

    Looking into connect: OSGi (JBoss AS 7.1 or Virgo 3.5), Spring 3.1, jBPM (5.4 or 6.0), Maven 3.

    ReplyDelete
  2. I'm trying to use the alpha 6 from Maven-Central it's not working. NO jar is downloaded, only a drools-multiproject-6.0.0.Alpha6.jar.lastUpdated with .pom and .sha1. Is it published or is there a problem on Maven-Central ??? Thanks

    ReplyDelete
  3. Nice post.Give it up. Thanks for share this article. For more visit:Web App Development

    ReplyDelete
  4. Hi Mark. If we use bpmn2 and drl from Maven Repo, should we need to use guvnor for a full jbpm project?. I am asking because of jbpm model persistence and monitor still needed. If not, how would you implement that funcions?.
    Best regards!
    Sebastian

    ReplyDelete