Try to store it as xml file instead of DRL; In drl, parsing it back to UI is quite complex.
 
In order maintain versioning, write drl content into rules repository using jcr library for the retrieval of version you modified.
 
Regards,
Riyaz
 
On 9/17/08, Marcus Ilgner <marcus.ilgner@gmail.com> wrote:
Hi,

On Mon, Sep 15, 2008 at 10:11 PM, imraan <imraan.dhira@impactmobile.com> wrote:
>
> Users in my system will be able to configure their own rules to an extent
> through a UI.  I will create these rules programmatically using the
> org.drools.lang.descr package.  Right now, I am trying to see if its
> possible to store the RuleDescr or PackageDescr object(s) in a database.  Is
> there another way to store these objects in a database besides storing the
> contents of a DRL dump?
>
> Thanks,
> Imraan

those objects implement java.io.Serializable, so you can directly
write them to and from a storage type of your liking.

Best regards
Marcus
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users