I am new to drools and java.I want to setup guvnor and use database for storing rules.How should I begin with?
I have been trying to figure it out but haven't clearly understood how to start.
If you want to get an idea of the things you can do in workbench, you're best off starting with the videos here:
http://blog.athico.com/2013/12/drools-60-workbench-and-editor-videos.html
It's a web application, so you need a web server first. JBoss AS is the only web server on which it is tested properly, so go and download that if you want to avoid spending your learning time trying to get Guvnor/Workbench working on Tomcat/Jetty/Glassfish/WebSphere/etc.
http://www.jboss.org/jbossas/downloads/
Then go to https://www.jboss.org/drools/downloads and download Workbench (the new name for Guvnor). Deploy it on your web server and browse to it.
And then just follow the instructions in the documentation:
http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html_single/index.html#d0e13220
Note that Workbench does not store rules in a database (earlier versions did); it now uses Git.