If you use Maven to build it as a war, then it's simple to deploy to Tomcat. Nothing special needs to be done.
My preferred way of doing this is to create a Spring web application, as it makes REST services simple. Create a Spring bean to wrap the knowledge base & session (if it's a long-running session). That way, you just call a method on the knowledge base wrapper, which will insert facts, fire rules and construct a response object. Steve On 2 Sep 2013, at 09:58, ashwindrool <[email protected]> wrote: > Hi, > > I want to create drools web application and deploy it in tomcat. > > Also need to expose its method for web service REST call to initiate drools > rule execution > > > Can u hep me... > > > Thnks > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/How-to-create-drools-web-application-and-deploy-in-tomcat-tp4025752.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
