Friday, November 18, 2011

JUDCon is coming to India in 2012!

JUDCon is coming to India in 2012!.

I'm just putting my own submissions into JUDCon and hopefully will be there. If you work with Drools and/or jBPM and have an interesting project that you want to tell the world about, then hurry up and get your submissions in.

Sunday, November 06, 2011

Guvnor - Using jBPM Work Items in decision tables

Work is now complete for 5.4.0.beta1 to use jBPM Work Items in the guided decision table.



New Actions have been added to perform the following:-
  • Call a Work Item. Parameters can be either literal values, or bound to a Fact or Fact Field.
  • Set the value of a field on an existing Fact to the value of a Work Item result.
  • Set the value of a field on a new Fact to the value of a Work Item result.


Significantly, to maximize the usefulness of using Work Items in actions, is the ability to define bindings for Fact field values. This allows Facts' fields to be passed to Work Items.

Bound fields can also be used in predicate and formula Condition definitions too; which opens a world of further possibility which up until now has been unavailable.



Work Item definitions can either be defined as assets in Guvnor or included in a workitem-definitions.xml the format of which follows the normal jBPM Work Item definition.

A short video here demonstrates using Work Items in a decision table and a short example of how the feature can be leveraged from a Java application.

Unrelated to Work Items, but a welcome addition, is the ability to define an action to retract Facts.

Saturday, November 05, 2011

The Decision Model IP Trap

part 1 part 2 part 3

Remember the Gif submarine patent from Unisys?
http://www.gnu.org/philosophy/gif.html
It's a classic story of why OSS and standards in general do not mix with patents.

While at business rules forum this year I was asked by Larry Goldberg, one of The Decision Model (TDM) authors what our plans were for Drools and TDM. You can read more about what TDM is here:
http://www.kpiusa.com/index.php?option=com_content&view=article&id=22&Itemid=8

While discussing future ways we could work together I asked them what their business model was. After discussing consulting and training I asked if there was a scalable business model, thinking maybe certification centres around the TDM brand. He answered IP. I asked what IP, for I was not aware of any software they had, he answered TDM is patented......... Say what now?

Yes I was kinda stunned by that too. I replied I couldn't discuss TDM any further or look at software that implemented it, without Red Hat legal guidance. This field is covered extensively in research, I don't believe they have anything that for instance isn't already covered by the god father of decision tables at Leuven University, Jan Vanthienen.
http://www.econ.kuleuven.be/prologa/

Mr Goldberg seemed confused by this, offering that everyone has to deal with patents when using software. Obviously someone who has not got the Red Hat message. So for those that don't know, let me spell it out :)


Open Source and Patents do not mix. When you get software from Red Hat you are guaranteed its 100% Open Source, not maybe OS or partly OS. From top to bottom, inside and out 100% OS goodness. But it doesn't stop there Red Hat guarantees and indemnifies it's customers that the software is not IP encumbered in any way. Those are cast iron assurance built universally into the Red Hat brand, and it's why Red Hat is the world's number one OSS company.

So you can imagine that making available the patent encumbered TDM as part of Drools does not fit with the above assurances and does not and will not happen.

For those vendors, OSS or not, make sure you are aware of this and have agreed licensing deals before walking into this IP trap and getting gauged later.

I hope that the TDM people might consider giving universal and perpetual access to their patent to allow wider adoption. I believe Red Hat has a patent pool they can donate too, if they need help in how to do this.

I would add that I have simplified things here. For instance various Open Source efforts are under way for defensive patents, to protect OSS, http://en.swpat.org/wiki/Defensive_patent_pools. Also some OSS licenses, like Apache allow patents but give universal access, while retaining the rights to act defensively. We have patent applications in the Drools team For this reason. You can read more about the Red Hat patent promise here:
http://www.redhat.com/legal/patent_policy.html

In the mean time we in the Drools team will continue to take our inspiration from the excellent and unencumbered research projects; Prologa and XTT2.
http://ai.ia.agh.edu.pl/wiki/hekate:xtt2

Mark
Disclaimer: This post is made in a personal capacity. Nothing written above should be construed as Red Hat's corporate position.

Tuesday, November 01, 2011