Andrew Waterman and Jervis Liu were working on a REST API for Guvnor: https://issues.jboss.org/browse/GUVNOR-1080 Maybe you can help them.
In the other hand, I have implemented a way to embedd Guvnor's editors in external applications: http://ilesteban.wordpress.com/2010/11/23/guvnor-embed-assets-editor-in-your-application/ 

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2010/12/23 Harshit Bapna <hrbapna@gmail.com>
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 ?
 
 

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users