• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Rules Engine Assistance

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am seeking to implement a Rules Engine for my application. The nature of requirements is such that:

1. Data to be operated upon is placed in a properly formatted XML file.
2. This input XML file will have a structure like:

3. I need to parse the above structure and validate the data present within <data> tags against a set of rules which will be specified by the end-user (business user). This is where I believe that the Rules Engines should kick in.
4. The output should be another XML file based on the result of step 3.

Now I've gone through the user manual for Mandarax and I find it predominantly concerned with SQL queries and rule bases from Databases. Is there any way that rules from an external source (a Rules file, perhaps) can be applied onto the input data (read from the XML file)?

I know that Drools provides such support, but in case of Drools, the conditional statement in a Rule file can only access the getter methods of the Class object passed to it. It doesn't support methods which take in an input in the conditional part of a Rule.

Any help would be really appreciated. Thanks a lot!
[ May 14, 2007: Message edited by: Anirvan Majumdar ]
 
I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!