[rules-users] Need help setting up Drools Server using Maven

Mauricio Salatino salaboy at gmail.com
Fri Apr 22 18:34:11 EDT 2011


If you know what rules you need to include in drools server before starting
it, you can create a project that contains all the model objects and rules
and after that create the spring configuration inside the deployed drools
server. After that you package your project and move the compiled package
inside drools server. That should do the work.
If you don't know before starting the server the rules and resources that
you will need, you can use Drools Grid to dynamically create sessions inside
of it.
I will write a blog post about it.
I'm working in an end to end scenario to demonstrate how to do that.
Greetings.

On Fri, Apr 22, 2011 at 7:25 PM, kkelleyjr <karl.kelley.jr at gmail.com> wrote:

> Thanks for the response:
>
> I have actually already read this post and done the tutorial... I posted on
> your blog about the test.jsp... It worked great... Well, once I figured out
> what I was doing...
>
> Thank you for the blog... Looking forward to the stateful post... Because
> that is what I really need...  I think...
>
> This is what generated my question, kinda... So, I deploy the drools
> server... Do I create a project in eclipse so that I can add new rules
> resources... Then I had the question of, where do I put code that will be
> triggered by rules...
>
> So, do I just import the deployed drools server into an eclipse project and
> add to the project then re-package the changes and deploy to tomcat?... If
> this is the case how do I do I import this as a project and what is the
> folder structure where I should add the java code to be triggered by my
> rules?
>
> Or I was thinking that I have to bring the drools server into my project so
> that maven updates automagically as new drools server updates are
> deployed...
>
> In either case, what is the correct folder structure to start adding the
> code I need for my project...
>
> Hopefully, this makes sense... If not I will try to clarify...
>
> Thank you for your input...
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Need-help-setting-up-Drools-Server-using-Maven-tp2853035p2853132.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 - CTO @ http://www.plugtree.com
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110422/e1049f6b/attachment.html 


More information about the rules-users mailing list