Another way that performance can be improved is to have all "client" code
that triggers rules run in a servlet. This assumes that the servlet is
running on the same physical system as the EJB server where the BRBeans EJB
are installed. This way when remote calls are made to the EJB rule server,
they are going to another JVM on the same machine and not going across a
network to a different physical system. Of course, this becomes less important
if the BRBeans cache hit ratio is high enough and most triggers are local. If
this is the case, then most triggers will be completely local to the client
code triggering the rules and it doesn't matter which machine it is running
on.
View PDF file... |
|
To view a PDF file containing this article and related articles, click:
|
|
PDF version |
|