On 12/15/05, Felipe Piccolini <[EMAIL PROTECTED]> wrote: > > loading DRLs from database doesnt solve my problem, which is long time > spend in load rules (building RuleBase).
Sure -- so you've got a way of caching the rule base. I buy that; and if you're using EJB anyway, an EJB facade is a reasonable approach. That said, if I were going to do it myself, since I'm not prone to using EJB unless I have a strong reason to do so, I'd probably do something closer to what Dave suggests. I'd locate the rules somewhere within the filesystem or classpath, then load and cache the rulebase. JNDI as an access point is not a bad idea, although I tend to prefer something that operates equally well out-of-container when I can. I might use JMX to allow an explicit reload. - Geoffrey -- Geoffrey Wiseman
