I\'m looking for a good rule engine.
I\'ve seen it exists two good projects : JBPM and Drools.
I don\'t really understand differences between the two and I don\'
Drools is a Rete rules engine that does forward and back induction. You can use it in a small setting for local decisions that only require a handful of rules OR something as large as an underwriting decision engine in insurance.
jBPM is an enterprise singleton that helps you to wire together interactions between humans and services into a state machine that fulfills a well-defined, complex business process. Think of the Mediator pattern in GoF.
I can see where jBPM might use a Rete rules engine to help with complex decisions in a business flow. There's nothing to stop me from embedding Drools in jBPM.
I would say they are complimentary, not an either/or choice.