<div>&nbsp;</div>
<div>Try to store it as xml file instead of DRL; In drl, parsing it back to UI is quite complex.</div>
<div>&nbsp;</div>
<div>In order maintain versioning, write drl content into rules repository using jcr library for the retrieval of version you modified.<br>&nbsp;</div>
<div>Regards,</div>
<div>Riyaz<br>&nbsp;</div>
<div><span class="gmail_quote">On 9/17/08, <b class="gmail_sendername">Marcus Ilgner</b> &lt;<a href="mailto:marcus.ilgner@gmail.com">marcus.ilgner@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>On Mon, Sep 15, 2008 at 10:11 PM, imraan &lt;<a href="mailto:imraan.dhira@impactmobile.com">imraan.dhira@impactmobile.com</a>&gt; wrote:<br>
&gt;<br>&gt; Users in my system will be able to configure their own rules to an extent<br>&gt; through a UI.&nbsp;&nbsp;I will create these rules programmatically using the<br>&gt; org.drools.lang.descr package.&nbsp;&nbsp;Right now, I am trying to see if its<br>
&gt; possible to store the RuleDescr or PackageDescr object(s) in a database.&nbsp;&nbsp;Is<br>&gt; there another way to store these objects in a database besides storing the<br>&gt; contents of a DRL dump?<br>&gt;<br>&gt; Thanks,<br>
&gt; Imraan<br><br>those objects implement java.io.Serializable, so you can directly<br>write them to and from a storage type of your liking.<br><br>Best regards<br>Marcus<br>_______________________________________________<br>
rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>