Drools is probably the premier open source java based tool and its as lightweight as a genuine RETE rules engine gets (or as heavyweight as you want to make it).
It's actively maintained and developed, has a pile of documentation, is free to use and an active community. The Java API should run to maybe 20 lines of code which you can further abstract down to a couple of lines. The complexity of a rule engine is more around getting your head into the head space of how they work, and understanding how your business rules are structure, and what information you need to get into and out of the rules engine. How many rules will you have? Who will update them? How often will they be updated? On Jun 9, 11:44 pm, Jan Goyvaerts <[email protected]> wrote: > That's where I'm usually shopping for idea's : > > http://java-source.net/open-source/rule-engines > > Although I'm not sure this site is still as active as it used to be. I'm not > getting xml feed lately... > > > > > > > > On Thu, Jun 9, 2011 at 14:57, Matthew Farwell <[email protected]> wrote: > > Hi, > > > One would be Drools:http://www.jboss.org/drools/drools-expert.html > > > Have fun, > > > Matthew. > > > 2011/6/9 Jahid <[email protected]>: > > > Hi Fabrizio, > > > > Thanks a lot for your reply. Here is some example - > > > > def: isCustomerActive > > > given customer:Customer > > > true when customer.LastUsage.Days < 90 > > > > def: isCustomerAllowedToPurchasePremiumProducts > > > ...given customer:Customer > > > true when isCustomerActive(customer) and customer.Status = "Premium" > > > > On Jun 9, 11:41 am, Fabrizio Giudici <[email protected]> > > > wrote: > > >> On 06/09/2011 10:44 AM, Jahid wrote:> Hi, > > > >> > I am looking for a open source rule engine. The light weight the rule > > >> > engine is, the better for me. If you know something please share. > > > >> > Thanks in advance. > > > >> There are many around... I understand the desire of a simple thing, but > > >> simplicity must be balanced with requirements. Can you post a couple of > > >> typical rules that you'd like to implement? > > > >> -- > > >> Fabrizio Giudici - Java Architect, Project Manager > > >> Tidalwave s.a.s. - "We make Java work. Everywhere." > > >> java.net/blog/fabriziogiudici -www.tidalwave.it/people > > >> [email protected] > > > > -- > > > You received this message because you are subscribed to the Google Groups > > "The Java Posse" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > [email protected]. > > > For more options, visit this group at > >http://groups.google.com/group/javaposse?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "The Java Posse" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/javaposse?hl=en. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
