[rules-users] dialect: Java or MVEL

Mark Proctor mproctor at codehaus.org
Mon Sep 24 13:58:32 EDT 2007


There is no .java file, all compilation is in memory. you can, if you 
change the code and re-compile by hand, dump the resulting template files.

Mark
Godmar Back wrote:
> BTW, when using Java, is there a way to save the .java files created
> by the compiler?  I would like to understand the specific
> environment/scope in which consequences are compiled. Right now, if
> something goes wrong, the .java are deleted right away. I looked at
> PackageBuilderOptions, but didn't see anything there.
>
>  - Godmar
>
> On 9/24/07, Mark Proctor <mproctor at codehaus.org> wrote:
>   
>> Java is more mature in tooling and implementation and is still currently
>> the default implementation and the recommended one if you are not sure.
>> MVEL will eventually become the default dialect when it matures, its
>> advantage is in the simpler language it provides, which helps make rules
>> easier to read and write. It can also operate in reflection mode, which
>> can really help for large rule based systems that have perm gen issues.
>>
>> Mark
>> ekke wrote:
>>     
>>> can someone tell me, when to use java or mvel as dialect ?
>>>
>>> I've experienced that in some cases inside the drl editor using java
>>> gives me more context-help then using mvel
>>>
>>> but: what can I do with java and not with mvel
>>> and what advantages has mvel compared with java
>>>
>>> which dialect is more performant ?
>>>
>>> thx for infos from insiders
>>>
>>> ekke
>>>
>>>       
>> _______________________________________________
>> 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
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070924/5842b5ab/attachment.html 


More information about the rules-users mailing list