I think I will make DSL an "asset" - but there will by default be only one (like Highlander - "there can be only one") - that will be the one used unless there are multiple in which case you would have to specify which one to use. 
<br><br>Model I will do the same.<br><br>The NEXT question is: One model (versioned) or multiple files? I spose multiple files are also doable as well.... <br><br><div><span class="gmail_quote">On 2/2/07, <b class="gmail_sendername">
Edson Tirelli</b> &lt;<a href="mailto:tirelli@post.com">tirelli@post.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>&nbsp;&nbsp;&nbsp;&nbsp;Answering Michael, I agree with Felipe on Q2, but on Q1, I would<br>like to note that I think it would be good to allow for more than one<br>DSL in the future. This way, we would be able to create DSLs associated<br>
with &quot;partitions&quot; of the business model, and for each ruleset, we would<br>use the DSLs associated with each partition we are using. Ok, the<br>explanation is messy, so let me tell about an eventual use case:<br>
<br>&nbsp;&nbsp;&nbsp;&nbsp;In a telecom market, we possibly would have a Customer Business<br>Model (with customer related info), a Telecom Service Business Model<br>(with service related info, like calls, service plans, etc) and a<br>Finance Business Model (with billing related info, like charges,
<br>discounts, etc). So, a Billing system would use the Telecom Service<br>Business Model and Finance Business Model, while a Customer Self-Service<br>System might use the Telecom Service and Customer Business Model, while
<br>the CRM would use all of them.<br>&nbsp;&nbsp;&nbsp;&nbsp;As the DSL usually translate to Patterns and Constraints of the<br>mapped business model, and actions related to that, it would be good<br>from a reuse perspective to allow the use of multiple DSLs in each context.
<br>&nbsp;&nbsp;&nbsp;&nbsp;So, IMO, we should be prepared to support multiple DSL&#39;s for a<br>single rulebase/drl soon. If that mean the DSL must be assets instead of<br>attribute, I would go for it.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Just my 0.02.<br><br>&nbsp;&nbsp; []s
<br>&nbsp;&nbsp; Edson<br><br><br><br>Felipe Piccolini wrote:<br><br>&gt; Hi Michael,<br>&gt;<br>&gt;&nbsp;&nbsp; Iv been following your work in the brms/repository very closely<br>&gt; because Im working in something very similar by<br>&gt; my self for a project using JBossRules, and as I cant wait much longer
<br>&gt; I decided to use your work as a base to<br>&gt; put something on production until you guys do the &quot;real-cool&quot; thing.<br>&gt;<br>&gt;&nbsp;&nbsp; About your questions, IMHO,<br>&gt; -Q1: I think dsl should be an attribute (as far as I know, you can put
<br>&gt; only 1 dsl expander on drl files) and<br>&gt; there should be only one reference to expand the rule sentences, if<br>&gt; you have multiple dsl, then have mutiple drl (packages).<br>&gt; -Q2: I think object models (or business models to use as facts for
<br>&gt; your rules) should be assets, so u can organize your model/classes<br>&gt; not thinking in drools or any other framework, so you can extend your<br>&gt; model or rules with just a pointer as a dependency, just as you
<br>&gt; can put or remove jars from your classpath.<br>&gt;<br>&gt;&nbsp;&nbsp;One thing I wanted to tell you for some time about drools-brms is<br>&gt; that for some reason I dont know, the gwt ui looks awfull on mac (OS X),<br>&gt; I made it works changing some things on the .launcher and .shell
<br>&gt; files, but its looks like no modal window has a background, or complete<br>&gt; messed up.. can you check it out? or help me to guiding me what to<br>&gt; check to see it right? Thanks.<br>&gt;<br>&gt;<br>&gt; On 01-02-2007, at 3:23, Michael Neale wrote:
<br>&gt;<br>&gt;&gt; BUT this also applies to the file structure for &quot;packages&quot; in a file<br>&gt;&gt; system/IDE (forget monolothic DRL for a moment - but instead imagine<br>&gt;&gt; a folder which is a rule package containing lots of rules).
<br>&gt;&gt;<br>&gt;&gt; (in no particular order);<br>&gt;&gt;<br>&gt;&gt; Q1: Should DSL &quot;language configurations&quot; be stored as an &quot;asset&quot;<br>&gt;&gt; inside a package (ie a file, perhaps multiple ones of them?) - or are
<br>&gt;&gt; they an attribute of a package?<br>&gt;&gt; Q2: The object model: should this be stored as an attribute of a<br>&gt;&gt; package - or just another asset of which there can be muliple ones<br>&gt;&gt; uploaded (as a jar, for instance).
<br>&gt;&gt; This is needed for validation/tooling. Obviously in the IDE the<br>&gt;&gt; classes will be on the classpath, but in the repo they have to be<br>&gt;&gt; stored somewhere.<br>&gt;&gt;<br>&gt;&gt; Note versioning works well in all scenarios (subtle differences
<br>&gt;&gt; between a package attribute and asset for versioning, but ignore them<br>&gt;&gt; for now).<br>&gt;&gt;<br>&gt;&gt; I have opinions, but wanted some discussion (attachment screenshot<br>&gt;&gt; shows the package managment screen).
<br>&gt;&gt; &lt;Screenshot-JBoss Business Rules Management System .png&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; rules-dev mailing list<br>&gt;&gt; <a href="mailto:rules-dev@lists.jboss.org">
rules-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>&gt;<br>&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev
</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; *Felipe Piccolini M.*<br>&gt; <a href="mailto:felipe.piccolini@bluesoft.cl">felipe.piccolini@bluesoft.cl</a> &lt;mailto:<a href="mailto:felipe.piccolini@bluesoft.cl">felipe.piccolini@bluesoft.cl
</a>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;------------------------------------------------------------------------<br>&gt;<br>&gt;_______________________________________________<br>&gt;rules-dev mailing list<br>&gt;
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>&gt;<a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>&gt;<br>&gt;<br><br><br>
--<br> Edson Tirelli<br> Software Engineer - JBoss Rules Core Developer<br> Office: +55 11 3124-6000<br> Mobile: +55 11 9218-4151<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br><br>
<br>_______________________________________________<br>rules-dev mailing list<br><a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev
</a><br></blockquote></div><br>