1. Yes - RuleBase is threadsafe (calling .newWorkingMemory is fine). Also
there is a SychronisedWorkingMemory proxy if you really need it.
2. It may be possible, but the custom DSLs in Drools 2 are designed for your
own domain specific XML language (ruleml is more general then that - would
not be easy).

On 1/24/06, ywchen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am evaluating Drools, and need to know the following things before
> making a
> decision.
>
> 1. Does Drools support multi-threading?
> 2. According to the document, "The Base Semantics Module provides a base
> language for building a RuleSet in XML. By itself, the base semantic
> module is
> not capable of writing a complete and valid rule file. It must be used in
> conjunction with other semantic modules. This can be the Java semantic
> module,
> the Groovy semantic module, the Python semantic module, or a custom,
> domain-
> specific semantic module you've written specifically for your problem
> domain."
> I am wondering if I can create a custom, domain-specific semantic module
> that
> takes RuleML files as input. I mean I don't want to embed Java code
> snippet
> into .dsl files.
>
> Thanks in advance.
>
>

Reply via email to