[rules-users] JBoss rules and EJB3 integration best practices?

Philip Reimer reimer at atb-bremen.de
Mon Jun 25 08:20:44 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Neale schrieb:
> 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).

Yes, that's exactly what I would like to avoid, since it was mentioned
in the docs that building the rule base is a quite costly operation.
Would it be a good idea to encapsulate the rule base into a singleton
and access it from the session bean? Or would that lead to problems?

I also saw something about deployment strategies or so in the docs but
I'm not sure, if I got the idea behind that.
Is it true that I can "deploy" precompiled rule bases with my
application and also exchange these rule bases during runtime?
How would I do that when deploying with ejb3 to a JBoss?

Any hints would be appreciated.
Kind regards,
Philip

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

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

iD8DBQFGf7Mczz98eoVPWsQRAhxUAKCoU1bfdM6O/MEmyBaM2pEFm3pB+wCgrffv
Vn8JQqqKOjdMobE2Wjb5lfE=
=3Rm7
-----END PGP SIGNATURE-----



More information about the rules-users mailing list