Hi, We are in the process of designing a basic rules engine for our project. The approach is to define these rules in an XML (generated using a UI) and have some means to compile this XML rules into a JAVA class. This is expected to be self contained JAVA class in the sense that when this class is instantiated and its execute() method called the corresponding rule gets executed.
Are there any ideas on how to accomplish this conversion from XML to JAVA? If someone can suggest a better alternative it is welcome.
If I have posted this question in the wrong forum please execuse me ...request to be directed to the correct forum.
Rather than reinventing the wheel -- maybe check out JESS (no not me) its "the Rule Engine for the Java(TM) Platform". Maybe you can use some of the features it has rather than writing your own. -- And lucky for you, the author of Jess is one of our sheriff's -- Ernest Friedman-Hill.