[rules-users] Storing RuleDescr and/or PackageDescr in a database table
imraan
imraan.dhira at impactmobile.com
Thu Sep 18 12:57:15 EDT 2008
Thank you both for the replies. I think I'll try storing it in xml. A rule
repository would be nice! I'll try implementing that at a later date.
For those interested, here is the link:
http://jlibrary.sourceforge.net/11/drools.html Rules Management Repository
with jLibrary and Drools
mriyaz wrote:
>
> 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 at gmail.com> wrote:
>>
>> Hi,
>>
>> On Mon, Sep 15, 2008 at 10:11 PM, imraan <imraan.dhira at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context: http://www.nabble.com/Storing-RuleDescr-and-or-PackageDescr-in-a-database-table-tp19500167p19557349.html
Sent from the drools - user mailing list archive at Nabble.com.
More information about the rules-users
mailing list