What is the difference in using a rules engine like drools as opposed to
using either an object database or ORDBMS mapping to a database with
triggers?
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rule
Any plans to incorporate generics into the drools API?
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Any plans to support eclipse progress monitors in the drools API?
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
I have tried to go through
http://anonsvn.labs.jboss.com/labs/jbossrules/ without any luck. Can
anyone help out?
Thanks, Benjamin
--
This message was scanned by ESVA and is believed to be clean.
___
rules-users mailing list
rules-users@lists.jboss.or
Jeffery,
We are definitely going to run the Drools 5, only the compiler and
engine part, under jdk 1.6 since this is going to be the version for our
production environment. We just integrated the pre-release Drools 5.0
for the new project under development; so far no issues for our usage.
Thanks
Can you open a JIRA for this? If you provide a unit test with it, we'll
see if we can include this in 4.0.7. 5.0 will now have shadow proxies
any more, as default.
Mark
vdelbart wrote:
I think the method cloneObject 'ShadowProxyUtils' could be improve like
follow :
public static Object clo
I'd create a function called isEmpty, or call of a static method on a class.
VenueGlobal( (isEmpty( sousVenues) ) )
Mark
vdelbart wrote:
Hi,
I have an object 'VenueGlobal' with a property 'sousVenues' who is a List of
SousVenue. I try to test the emptyness of this list in on sentence but i
d
Jeffrey Delong wrote:
Are there plans to support jdk 1.6 with Drools 5.0?
Ming, from Sabre, is looking into it. He has fixed some thngs already.
Would be nice to support it, assuming we can fix all issues.
Thanks,
Jeff
___
rules-users mailing list
r
Hi All,
i've a simple rules that retract objects form the WM
rule "Retract From ArrayList"
when
$total: ArrayList() from collect ( PrestationFacturable() )
then
retract($total.get(0));
end
at the end of fireAll all the fact are well retracted but if I
replac
I think the method cloneObject 'ShadowProxyUtils' could be improve like
follow :
public static Object cloneObject(Object original) {
Object clone = null;
if ( original instanceof Cloneable ) {
try {
Method cloneMethod = original.getClass().getMethod(
Thanks Mike!
I'm a total newbie here with Drools, so what I'm going to do is to take your
solution and try it out.
Cheers!
On Wed, Apr 23, 2008 at 4:28 PM, Anstis, Michael (M.) <[EMAIL PROTECTED]>
wrote:
> Thanks Steve,
>
> This fixed the problem!
>
> For Cheng Wei Lee's benefit this is the co
I'm not using Drools yet; was thinking whether would I gain from using
Drools with my situation and more importantly whether could I achieve what I
need to with Drools.
Actually even before coming to the cost calculation, there're a bunch of
business rules that I need to apply to determine if I ne
Thanks Steve,
This fixed the problem!
For Cheng Wei Lee's benefit this is the complete solution (I had to fix
another part):-
public class DBUtils {
public Collection getNumbers() {
Integer[] numbers = new Integer[10];
for (int i = 0; i < numbers.length; i++) {
without knowing how you are accessing the database your two algorithms come
down to something like:
Alg. 1
max(select max(p) from y, select max(t) from z)
Alg. 2
select min(p) from y + select min(t) from z
which is basically the same as what Michael has proposed.
Personally I think if you are a
change DBUtils to return a Collection and it should work I think.
On Wed, Apr 23, 2008 at 5:50 PM, Anstis, Michael (M.) <[EMAIL PROTECTED]>
wrote:
> So, in my usual helpful manner I thought Drools would be a perfect match
> and put together what I thought would be a simple example:-
>
> package
use sousVenues.empty == true
On Wed, Apr 23, 2008 at 5:32 PM, vdelbart <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have an object 'VenueGlobal' with a property 'sousVenues' who is a List
> of
> SousVenue. I try to test the emptyness of this list in on sentence but i
> don't know why it doesn't work
I believe this is an example of backwards-chaining.
(From the manual) Drools only supports forward-chaining at present although
"...Drools will be adding support for Backward Chaining in its next major
release...".
Have you looked at Geoffrey De Smet's drools-solver excellent work? Will
this pr
So, in my usual helpful manner I thought Drools would be a perfect match and
put together what I thought would be a simple example:-
package com.sample
global com.sample.DBUtils dbutils;
rule "a1"
when
$max : Integer() from accumulate( Integer( $v : intValue ) from
dbutils.getNumbe
Hi,
I have an object 'VenueGlobal' with a property 'sousVenues' who is a List of
SousVenue. I try to test the emptyness of this list in on sentence but i
don't know why it doesn't work :
I try this :
VenueGlobal( sousVenues == null || sousVenues.empty )
but I have this error :
org.drools.rule
19 matches
Mail list logo