ideally there is only one instance of a rulebase, and you create new sessions as needed - presumably with session beans you will have a few instances (which is not ideal, but you can live with it).


On 6/24/07, Philip Reimer <reimer@atb-bremen.de> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello.

I'm very new to JBoss rules (or rules engines in general), so please
excuse any stupid questions.

I have to integrate jboss rules into an ejb3 project: expose rules
functionality via a session bean (and probably a web service later).

I got it basically working but it's probably not a very elegant
solution. Could anyone give me some hints for some best practices when
using rules from within a session bean? Especially, regarding the
caching of built rule bases?

Thanks in advance,
Philip

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGfm6Jzz98eoVPWsQRArJtAJ0RwT/I/PYxZN7LzVSTuejorpGo0gCeJgqX
DqgnI1JWcBzOBFsuqSqSVUo=
=26FR
-----END PGP SIGNATURE-----
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users