| Article: |
Give Your Business Logic a Framework with Drools | |
| Subject: | Business Users | |
| Date: | 2005-08-04 08:24:20 | |
| From: | paul_browne | |
|
Response to: Business Users
|
||
|
I wrote these articles based on experience as a Java / J2EE developer , so 'us' is very much from that viewpoint. Given that 'Java-only' developers must implement business rules anyway , using the Drools framework offers gains in time , flexibility, resuability , testability and easier maintenence. <BR/> Like all frameworks, the choice of using a Rules Engine or not will vary by project , organisation and skillsets available. <BR/> The aim of the article was not to entice business users to use Drools (I don't think that many of them read O'Reilly!) , but if that is the way you would like to use Drools , one tool that may help is the Drools-Excel Integration (http://www.drools.org/Decision+Tables) . <BR/> Paul Browne (http://red-piranha.blogspot.com/) |
||
Showing messages 1 through 2 of 2.
-
Business Users
2005-08-04 14:04:25 vikdavid [View]
-
Business Users
2005-08-05 00:21:11 paul_browne [View]
I've also been very impressed by the Drools project in general.
I wouldn't see Drools as 'program-in-XML-instead-of-Java' - the underlying approach is very different: With Drools you state what you know to be true , with Java you say exactly what you want done. The Drools approach can lead to more simple code (none of those messy , tangled , if..then statements).
In an 'ideal world' not only could business analysts write rules (if they wanted to) , but other Analysts could use RAD Tools to develop the user interface (the market Visual Basic aimed at). The productivity gain comes from not waiting for a developer to translate requirements into code , with the possibility of making mistakes.
In reality , there will always be requirements that need a Developer (such as writing rules against a Database). As ever , the balance of work between Developer and Analyst will depend on project, organisation and skillsets.
Paul Browne
http://red-piranha.blogspot.com/



I'm stressing the business users because IMHO rules engines are supposed to make biz rules more maintainable. And one way I've see that work is if you can actually take what a business analyst gives you (eg: an Excel file) and convert it to a format that the program can use (eg: XML), with little or no programmer intervention. BUT if the programmer is just writing the rule in XML instead of Java, then... like you said, it's a skillset thing and that leads to other problems (a topic for a long blog entry ;-).
http://blog.vikdavid.com/