<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>Hi Jervisliu,</div><div><br></div><div> I have a similar case where in I need to integrate Guvnor to one of my web application which is developed in Struts Framework... Can you pls suggest me how can I do this?</div><div><br><br>Deepak Prabhakar Jambhekar<br><br><div><br></div><font color="#990099">-----rules-users-bounces@lists.jboss.org wrote: -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">To: Rules Users List <rules-users@lists.jboss.org><br>From: Jervisliu <jliu@redhat.com><br>Sent by: rules-users-bounces@lists.jboss.org<br>Date: 11/27/2009 09:45AM<br>Subject: Re: [rules-users] Drools with Web Application<br><br><font face="Courier New,Courier,monospace" size="3">Things can be very straightforward if your web application is GWT based. <br>You can use GWT RPC to talk to the Guvnor server. See <br>trunk\drools-guvnor\src\main\java\org\drools\guvnor\server\ServiceImplementation.java <br>for details. Most functions that are called from Guvnor GUI are <br>implemented in this class. If this doesnt work for you, you will need to <br>somehow expose Guvnor server side functions (ServiceImplementation.java) <br>by yourself, eg, through a Servlet or through a RESTful service <br>interface. Unfortunately Guvnor does not have this capability yet, <br>though there were some talks about implementing such features in the <br>future. You may want to take a look at Apache CXF [1] or JBOSS RESTEasy <br>[2] on how to use a JSR-311 implementation to publish Guvnor as Restful <br>(Atom/Pub) services. Let me know if you have interest to explore this <br>further, I can provide more information on this.<br><br>[1].http://cwiki.apache.org/CXF20DOC/jax-rs.html<br>[2]. <a href="http://www.jboss.org/resteasy/">http://www.jboss.org/resteasy/</a><br><br>Cheers,<br>Jervis<br>> Hello,<br>><br>> Drools is very new to me. So please excuse me if this question sounds too naive.<br>><br>> Basically my requirement is: I have a web based (3-tier j2ee)<br>> application which is<br>> deployed in JBoss AS. Now I want to incorporate some business rule<br>> implementations with this application so that end users, who are not<br>> very technical, can add/modify the rules according to their need. I<br>> suppose Drools Guvnor will be the front end and rules repository and<br>> Drools Expert will be<br>> the back end for such requirements. Please correct me if I am wrong.<br>><br>> I had gone through the drools documentation. That talks about<br>> stand-alone application for guvnor itself, but I want to use Guvnor<br>> inside my existing application itself, preferably by using some Guvnor API.<br>><br>> Can some one please provide some insight on how to do this. Also, I'll<br>> appreciate if some one can point me to some getting started/best<br>> practice documents for these stuffs?<br>><br>> Many thanks in advance,<br>> --<br>> Sahid<br>> Argue with idiots, and you become an idiot. - PG<br>> _______________________________________________<br>> rules-users mailing list<br>> rules-users@lists.jboss.org<br>> <a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>> <br><br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></font>
</blockquote><br></div></FONT><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
</pre>