[rules-users] Is Drools appropriate for this app scenario?

2011-01-21 Thread Sebastien Chevalier
Dear Drools community:Being new to rule-based systems, I've read some introductory materials on this  paradigm's concepts where I was led to some rule engine Java implementations, your product seeming the most interesting to me at the moment.  Concerning RBMSs, in general, and Drools, in particular

Re: [rules-users] Some doubts on Guvnor

2011-01-21 Thread Tihomir Surdilovic
On 1/20/11 9:44 PM, Diego Martins wrote: > Hello! > > So, let'me explain what is happening first... > > I'm developing a project based on seam 2.2.0, and we used to have guvnor > (5.0.1) working perfectly. So, suddenly I decided it was time to move on and > start using the newest version (5.1.1, i

Re: [rules-users] Use of DroolsManagementAgentMBean

2011-01-21 Thread Edson Tirelli
All, The MBeans in Drools where designed to be used out of the box, so no facilities where implemented to make it easier to re-implement them (of course you can do that, just saying, try out of the box first and see if it matches your needs or not... :) ). To enable the mbeans: Knowl

Re: [rules-users] JDK1.5 Future for Drools and jBPM

2011-01-21 Thread OptimusPrime
"JDK 1.5 has officially reached "end-of-life", i.e., no more maintenance" -> Only true for Oracle. A lot of big companies use IBM Websphere.. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/JDK1-5-Future-for-Drools-and-jBPM-tp2296289p2301469.html Sent from th

Re: [rules-users] Use of DroolsManagementAgentMBean

2011-01-21 Thread Wolfgang Laun
Just get some version and modify it according to your needs. Here is the latest: http://fisheye.jboss.org/browse/JBossRules/trunk/drools-core/src/main/java/org/drools/management/KnowledgeSessionMonitoring.java?hb=true It's really no big deal to write an agenda listener that counts creations, canc

Re: [rules-users] Some doubts on Guvnor

2011-01-21 Thread Esteban Aliverti
Did you make a backup of Guvnor's repository *before* the upgrade? It seems to me that it was corrupted (or at least updated) by Guvnor 5.1.1. Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com

Re: [rules-users] How to Analyze Rule Test Coverage?

2011-01-21 Thread Esteban Aliverti
You could use Drools-Verifier to check things like Range Validation, Missing equality, Redundancy, etc. Here you have some kind of documentation: http://community.jboss.org/wiki/DroolsVerifier (Toni promised me that he would update it some time ago...) Best Regards, XX

Re: [rules-users] Use of DroolsManagementAgentMBean

2011-01-21 Thread asutosh_pandya
Hello Laun, Thanks for the reply. Well there is nothing wrong with the listeners. The requirement is such that we need all the information only after firing the rules. The KnowledgeSession itself should provide all the information rather than going through each and every events and logging the i

Re: [rules-users] JDK1.5 Future for Drools and jBPM

2011-01-21 Thread rouvas
Wolfgang Laun wrote: > All who stick with JDK 1.5 should realize that >- JDK 1.5 has officially reached "end-of-life", i.e., no more > maintenance Valid point, but you can't move JDKs if it is not supported by the application server. Main platform over here is Oracle.10g, i.e. JDK5. -Stathis

Re: [rules-users] JDK1.5 Future for Drools and jBPM

2011-01-21 Thread Wolfgang Laun
All who stick with JDK 1.5 should realize that - JDK 1.5 has officially reached "end-of-life", i.e., no more maintenance - JDK 1.6 has a far better optimized JVM There is no good reason to stay on JDK 1.5 - once you have left JDK 1.4 ;-) -W On 21 January 2011 10:24, OptimusPrime wrote:

Re: [rules-users] How to Analyze Rule Test Coverage?

2011-01-21 Thread hyjshanghai
Yes, this can be the low-level infrastructure to implement the functionality comparable to that of Cobertura, which I think is not practical for we rule engine users to do without much effort. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-Analyze-Ru

Re: [rules-users] How to Analyze Rule Test Coverage?

2011-01-21 Thread Corneil du Plessis
Your can use the various EventListeners like ProcessEventListener to collect statistics about rule execution while your tests are executing. On 21/01/2011 11:58, hyjshanghai wrote: > I am now using Cobertura to evaluate the test coverage on my Java > application. > However, Drools rules are not c

[rules-users] How to Analyze Rule Test Coverage?

2011-01-21 Thread hyjshanghai
I am now using Cobertura to evaluate the test coverage on my Java application. However, Drools rules are not counted by Cobertura, because classes for rules are dynamically created and therefore not instrumented by Cobertura for static analysis. How can we automatically analyze the test coverage

Re: [rules-users] Why Using "from" Always Return A New Fact?

2011-01-21 Thread hyjshanghai
"The general advice as of now is still to avoid using "from" with "lock-on-active", but I expect that restriction to be lifted in drools 6." - I think this is the ultimate advice, we, as users, should take. Thank you for so much explanation on the internal. I will ask more on the internal if tim

Re: [rules-users] JDK1.5 Future for Drools and jBPM

2011-01-21 Thread OptimusPrime
Hi Mark, these last 2 years I worked for 2 major european banks and a well-known international phone directory company. All these clients are still using the JDK 5. So IMHO, it is not a good idea ;-) Furthermore the added value of the JDK6 against JDK5 sounds limited to me (Stax maybe..) --

Re: [rules-users] How to write a rule that fires when it matches against specific facts in working memory.

2011-01-21 Thread groovenarula
Thanks for the options, Bruno and Wolfgang. But is there a more 'generic' way to do the matches ? The problem I have is that the # of instances that might match could vary. And I have to provide a means for the business users to be able to provide that 'option's code' using a decision table. Bas

Re: [rules-users] Use of DroolsManagementAgentMBean

2011-01-21 Thread Wolfgang Laun
There is an implementation of the interface KnowledgeSessionMonitoringMBean,see ./drools-core/src/main/java/org/drools/management/KnowledgeSessionMonitoring.java. Looking at this implementation will show you that the information about firing rules, fact operations is collected by the object acting