Your helper class can be in a JAR in the web-containers classpath (I.e. /lib). No need to change the WAR.

Guvnor does not use a database and has no notion of a database connection. Guvnor uses JCR (for Guvnor 5.5 and lower).

Your helper class/JAR would need to handle all connectivity to perform what you need.

Sent on the move

On 8 Jan 2014 15:33, "abhinay_agarwal" <abhinay_agarwal@infosys.com> wrote:
Hi Mantis,

Can't I establish a database connection for enumerations and authentication
in guvnor, without making any code change in the war ?

Because, code change always makes the application less stable and is less
preferred. So, it would be great if these functionality are provided before
hand by drools. :)

Regards,
Abhinay



--
View this message in context: http://drools.46999.n3.nabble.com/Using-Advanced-Enumeration-Concepts-in-guvnor-tp4027563p4027605.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users