Re: [rules-users] drools grid or other high availability solution?

2012-11-10 Thread Miguel Paraz
Hi, On Sat, Nov 10, 2012 at 1:35 AM, Mauricio Salatino wrote: > Hi Justin, > We are working on it, drools-grid was an experimental project to start the > design. > We also have the Drools Server using camel, and we will continue the > development of the remoting APIs, probably after the next rele

[rules-users] Best practices for Web UI and REST Services

2012-11-05 Thread Miguel Paraz
Hi, I'm connecting Drools to the Web, both for UI (via JSON+JavaScript), and REST services. What are the best practices, or, are there reference apps for this? As I understand it, the architecture is like: there must be a single thread running Drools, then with concurrent data structures (e.g. Bl

Re: [rules-users] Calling queries or collect() from functions

2012-11-05 Thread Miguel Paraz
can omit the first pattern from Rule1. Yes, this is correct. Cheers, Miguel > On 31/10/2012, Miguel Paraz wrote: >> Hi, >> I have a rule like: >> >> rule "Rule1" >> when >> $fact: Fact1() >> $allFacts: ArrayList() fro

[rules-users] Calling queries or collect() from functions

2012-10-31 Thread Miguel Paraz
Hi, I have a rule like: rule "Rule1" when $fact: Fact1() $allFacts: ArrayList() from collect(Fact1()) then insert(new Fact2($allFacts.size())); end I want to compute $allFacts inside a function since I will use it across different rules. This doesn't work because

[rules-users] JTA Persistence, Fact Objects and High Availability

2012-10-31 Thread Miguel Paraz
Hi, I'm looking at the possibility of using Drools to store the working state of my app, in the form of rules. Can JTA Persistence store fact objects? I read that the fact objects must be Serializable - are there other requirements or caveats? Can JTA Persistence take care of High Availability?

Re: [rules-users] To expose Rule created in drools expert as a webservice

2012-10-31 Thread Miguel Paraz
Hi, On Wed, Oct 31, 2012 at 6:15 PM, amit wrote: > I am starting with Drools expert My usecase is to expose the rule written > in Drools Expert as webservice. This webservice can be consumed by some > external application. My question: Is this feasible. Thanks a lot in > advance. > I'm starting