Hi,
I'm struck up here whether to go with DSL or decision tables.Please do tell
me which one is the best one to proceed with and why. If DSL then please
give me some examples.
--
View this message in context:
http://www.nabble.com/DSL-OR-DECISION-TABLES-tf3809558.html#a10782045
Sent from the
Hi,
Could u please help me in drools and spring integration by giving some
examples
Thanks,
suma
--
View this message in context:
http://www.nabble.com/DROOLS-AND-SPRING-INTEGRATION-tf3809566.html#a10782082
Sent from the drools - user mailing list archive at Nabble.com.
In my opinion, use a decision table if at all possible. They are easier to
maintain and understand at a glance and can be reviewed by a power user
instead of a programmer.
I inject my decision table spreadsheet into my program using Spring so that
I can switch it up if I need to.
-Original
Hi to all,
We wrote all the rules for leave application system. In which
way we can organize and store all the rules in database. Can i have any
example snippets of DAO implemention in drools rules.
Regards:
Kranthi Dalai
___
Kranthi,
I don't know if there is any example available, but it should be as
straight forward as either saving your DRL as text in the database or
serializing your rulebases in blob fields.
Alternativelly, if you are not looking for immediate production, I would
recommend you take a look
Hi to all,
Can i have any simple project that is developed under spring and
drools 2.1 and java with Database.
Regards:
Kranthi Dalai
___
rules-users mailing list
rules-users@lists.jboss.org
Both are good solutions, otherwise we wouldn't offer them :) So it all
depends more on your problem domain.
Mark
suma wrote:
Hi,
I'm struck up here whether to go with DSL or decision tables.Please do tell
me which one is the best one to proceed with and why. If DSL then please
give me some
Ronald,
I see now. Version 3.0.x still used integer codes for operators and that
is the reason the error message is saying operator '50'.
So, the problem is you are trying to use = (operator 50) with a string
attribute:
public static final int EQUAL= 1;
public static
Edson,
Actually, I am glad it caught it, because that was not my intent at all. I
was a global search and replace issue on my part.
If you added in support for these operations, I still think a warning would
be in order because that may not be what you intended,
I am considering the move to
Yes, we know error messages are still not good and we are working on
improving them.
[]s
Edson
2007/5/24, Ronald R. DiFrango [EMAIL PROTECTED]:
On a similar note, it would be good if the line numbers were displayed so
I could find the error much easier. [I do not that is TONS easier
why are you using drools 2.1?
Mark
kranthikumar dalai wrote:
Hi to all,
Can i have any simple project that is developed under spring
and drools 2.1 and java with Database.
Regards:
Kranthi Dalai
-- Forwarded message --
From: Ronald R. DiFrango [EMAIL PROTECTED]
Date: May 24, 2007 10:48 AM
Subject: More Fun with JBoss Rules IDE and JBoss Rules in general
To: [EMAIL PROTECTED]
All,
I am now getting the following error:
The type
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossRules
The version has been jumped from 3.1 to 4.0, due to an API change and
so many new features:
Ronald R. DiFrango wrote:
I read in the blog spot
[http://markproctor.blogspot.com/2007_02_01_archive.html] that multi
restriction connective field
Ronald,
Special characters in the rule names are replaced by '_' as a class will
be created with that name. So yes, the given names will generate conflicts.
I'm not sure we can do much about it, as transparently generating unique
names may cause silent unexpected problems.
For now,
Edson,
One someone else on my team came up with is using abbreviated names like:
LE for =
GE for =
EQ for ==
etc., etc., etc.
Ron
On 5/24/07, Edson Tirelli [EMAIL PROTECTED] wrote:
Ronald,
Special characters in the rule names are replaced by '_' as a class
will be created with
Just a thought -- you could always do something like include the string's
hashcode in the rulename, to ensure that two names that are similar with
special-character differences won't conflict with each other.
On 5/24/07, Edson Tirelli [EMAIL PROTECTED] wrote:
Ronald,
Special
Geoffrey, that is actually a nice Idea... :)
Will look at implementing it.
Thanks,
Edson
2007/5/24, Geoffrey Wiseman [EMAIL PROTECTED]:
Just a thought -- you could always do something like include the string's
hashcode in the rulename, to ensure that two names that are
Hello,
I am trying to use assertLogical in combination with a
WorkingMemoryEventListener in order to have business rules drive my
application: if conditions, then do something; if conditions not true
anymore, then do something else.
However, it seems that if the rule is activated multiple
Any catches in migrating from 3.0.5 to 4.0.0? Anything special if you have
a JBoss Rules Eclipse project when upgrading?
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Yeah, I like that idea as well!
On 5/24/07, Edson Tirelli [EMAIL PROTECTED] wrote:
Geoffrey, that is actually a nice Idea... :)
Will look at implementing it.
Thanks,
Edson
2007/5/24, Geoffrey Wiseman [EMAIL PROTECTED]:
Just a thought -- you could always do something
I tried the same thing but could not migrate cleanly.
I dropped the plugin in the plugin directory and restarted eclipse. I see
two Rule icons in my eclipse workspace. I closed it and deleted the
3.0.5plugin from the plugin directory but it still would not go away.
Not sure
how to get rid of it.
We’re having a class loader issue compiling rules that use dynamically
generated java beans as facts when deploying our application on JBoss
Application Server, versions 4.0.3SP1 and 4.0.5. We’re using JBoss Rules
4.0.0.MR2 and the Janino compiler. When deploying to WebLogic 9.2, there
are
from what I understand, in the when clause you can only have predicates.
So, you can create a function that does that and somehow returns a boolean
and then evaluate the boolean to be true
using eval.
-Krishnan.
On 5/23/07, Rajesh.Sachin10 [EMAIL PROTECTED] wrote:
We can write the Java
Unless I never looked at the name except in the source code, I don't see the much point in having
two names that can be distinguished (due to hashcode inclusion) but have been semantically
disconnected from the source code rules. If an error occurs in one of those rules, how will you know
which
You probably need to start eclipse with a '-clean' option or something
like that...
Regarding the migration, there are some changes that are not backward
compatible, but it should not be too difficult to do it. The main one is
that 3.0.x automatically wraps any primitive value into the
Seems like a hashcode() problem... can you get a self contained test case
and open a JIRA for it?
[]s
Edson
2007/5/24, Jones, Alan R [EMAIL PROTECTED]:
Hi,
I have a method in my code that creates a RuleBase, then adds a new
WorkingMemory. I then put that that RuleBase into a Hashtable
Rules are supposed to be declarative in nature. You should never need to
add control statements, neither to the LHS (when), nor to the RHS
(then), although, the RHS being a java code block allows you to do it...
but it is usually code smell...
Think about what you are doing and check if you
Okay. In the meantime a simple workaround (for those that may find it
useful) is to put the newly added WorkingMemory into a separate
hashtable of WorkingMemories (sp?). WHen Facts come in, I just retrieve
the appropriate workingMemory per the incoming identifier, assert the
Fact and fire all
On 5/24/07, Scott Reed [EMAIL PROTECTED] wrote:
Unless I never looked at the name except in the source code, I don't see
the much point in having
two names that can be distinguished (due to hashcode inclusion) but have
been semantically
disconnected from the source code rules. If an error
Yes, as discussed, you need to add import statements for the types you want
the BRMS to be aware of - if you like, create a feature request jira for
auto importing. I deliberately didn't do it cause I thought it would cause
more confusion, but perhaps I was wrong.
Also, the video on the blog:
yes that was a deliberate decision at this stage. May reconsider if there is
good reason. Its not something we want to expose directly in a GUI, at least
not without some formula pallette to help people build and validate simple
formula like expressions.
On 5/23/07, Chris Woodrow [EMAIL
Errors like that are not normal, and definitely indicates a bug (ie not a
compile error or anything - not something you should have to debug). So some
more information is needed like versions, how you are running it, where the
example came from etc (as there are a few versions floating around).
Hi,
Could u please help me with an Real time examples .Very Urgent
Regards,
suma
Hehl, Thomas wrote:
In my opinion, use a decision table if at all possible. They are easier to
maintain and understand at a glance and can be reviewed by a power user
instead of a programmer.
I inject
33 matches
Mail list logo