[jboss-svn-commits] JBL Code SVN: r15196 - in labs/jbossrules/trunk/documentation/manual/en: Chapter-Deployment and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Sep 18 01:50:41 EDT 2007
Author: michael.neale at jboss.com
Date: 2007-09-18 01:50:39 -0400 (Tue, 18 Sep 2007)
New Revision: 15196
Modified:
labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml
labs/jbossrules/trunk/documentation/manual/en/Chapter-Deployment/Section-Deployment.xml
Log:
small clarifications
Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml 2007-09-18 05:16:57 UTC (rev 15195)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml 2007-09-18 05:50:39 UTC (rev 15196)
@@ -1110,7 +1110,7 @@
<para>IMPORTANT: You should only have one instance of the RuleAgent per
rulebase you are using. This means you should (for example) keep the
- RuleBase in JNDI (or similar).</para>
+ agent in a singleton, JNDI (or similar). In practice most people are using frameworks like Seam or Spring - in which case they will take care of managing this for you (in fact in Seam - it is already integrated - you can inject rulebases into Seam components). Note that the RuleBase can be used multiple times by multiple threads if needed (no need to have multiple copies of it).</para>
<para>This assumes that there is a MyRules.properties in the root of
your classpath. You can also pass in a Properties object with the
Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Deployment/Section-Deployment.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-Deployment/Section-Deployment.xml 2007-09-18 05:16:57 UTC (rev 15195)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Deployment/Section-Deployment.xml 2007-09-18 05:50:39 UTC (rev 15196)
@@ -14,8 +14,8 @@
<para>The recommended way of deploying depends on how you are managing your
rules. If you are using the BRMS, you should use the RuleAgent (the detailed
documentation for this is in the chapter on the BRMS). You can still use the
- RuleAgent even without the BRMS, in which case you will need to use ant (or
- similar) to created serialized "Package" objects of your rules.</para>
+ RuleAgent even without the BRMS, in which case you will need to use ant (the drools-ant task or
+ something custom) to create serialized "Package" objects of your rules.</para>
<para>As every organization is subtly different, and different deployment
patterns will be needed. Many organizations have (or should have)
More information about the jboss-svn-commits
mailing list