Welcome to the wiki of page for JBoss Rules. Otherwise known as Drools 3. Please feel free to add your own tips/gotchas - you just need to signup for a jboss.com account (free and open to everyone). Currently the JBoss wiki is still on the jboss.com site so you will find the links for the naviation on the left may have change if you linked through from JBoss Labs, confusing I know. This will be resolved in next JBoss Portal release when JBoss Wiki will be properly integrated with Jboss Labs.
To clarify - Drools is the project development name, our R&D play pen. JBoss Rules is productized stable branch of Drools with additional support, consultancy and training; backports of bugs will be applied to JBoss Rules, but almost never to Drools.
NOTE: There is also a complete manual for JBoss rules, this wiki supplements the formal manual (see below for links).
Known issues and features to be implemented can be seen via the JBoss jira
IDE/Eclipse plug in
REQUIRES ECLIPSE 3.2 TO RUN Yes, there is a plug in.
This is an ideal way to get started quickly if you are an Eclipse user. (Refer to the manual)
Getting help or helping out
As normal, the maniacs can be found in the drools IRC room at irc.codehaus.org. Web client available for those behind a firewall http://irc.codehaus.org. Mark Proctor is known as "conan", and he is a vegetiarian, so he won't bite. The others are not though
Use the mailing lists. Use the "user" list for end user issues, "dev" for when you are mucking about with the internals.
Use jira to log issues.
Business Rules community A useful site especially for business rule analysis (your best buddies remember !)
Its important to note that the default textual language input for Drools 3 is a non XML format (XML support will be coming shortly as an alternative). It uses an Antlr3 grammar to parse rules and compile. See the RuleLanguageFAQ for some more info.
There is an examples project you can download.
TIPS and TRICKS & FAQ for developers
Dynamically add a property change listener to your beans This means you don't need to "modify" object changes
Tomcat (and JBoss AS) Issues and tricks - also applies to app servers that use tomcat or similar for JSP compilation
Drools library in JBoss AS- NullPointerException at org.drools.compiler.PackageBuilder.compile(Unknown Source) using JBossAS 4.0.4GA
Have problems with serialization? Then read this
Counting facts from the LHS
Rule patterns and practices
JBoss Rules (Drools 3.0) Things to be aware of
We have just moved to an ant driven build system (it uses maven 2 underneath, but you don't need to install maven yourself) due to complaints. See the manual for details on how to build.
Feel free to edit/add to this wiki - the aim of the wiki is not to be a manual, but to be a general "catch all" area for helpful tips and links. Also, articles and documentation may be entered here first, when its ready, it will then be formally moved into the manual for future reference. In the old Drools web site, the wiki was also the documentation, but for Drools 3 onwards, we are providing a formal manual for this purpose.
Many tips are from real world deployments, add more of your own Feedback/contributions are always appreciated. Its a wiki !
Information can still be located here
Design and Enhancement ideas
This section is for contributors (of ideas and code) or people interested in the future directions of JBoss Rules. Some of these ideas are works well in progress, some are just concepts/thoughts. Jump in, the water is warm (its a wiki !).