[rules-users] Integration Of Guvnor with CustomApp

Harshit Bapna hrbapna at gmail.com
Thu Dec 23 10:58:25 EST 2010


Hello All,

I am able to successfully integrate Guvnor into my custom app. (based on
spring)
(
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-integrate-Guvnor-GUI-in-a-test-app-td1595617.html
)

I have written some code in the index.jsp which invokes the
ServiceImplementation of Guvnor.
I am observing that RuleRepository object is coming as null.
Note: Through the integrated app If I hit the Guvnor URL than it is working
as normal.

private ServiceImplementation getService() {
 ServiceImplementation impl = new ServiceImplementation();
 RulesRepository repository = impl.getRulesRepository();
 return impl;
}

What is the suggested way of using the Guvnor services from the jsp/java ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101223/ce69ec29/attachment.html 


More information about the rules-users mailing list