|
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 3 (10.1.3) B14428-01 |
|
![]() Previous |
![]() Next |
For both EJB 3.0 and EJB 2.1, to configure how a client's requests are load balanced across the OC4J instances in your cluster when you configure a replication policy (see "Using System Properties").
For more information, see "Replication-Based Load Balancing".
In this release, configure the oracle.j2ee.rmi.loadBalance system property within each client to specify load balancing in an application cluster. This system property takes one of the following values:
client — The client interacts with the OC4J process that was initially chosen at the first lookup for the entire conversation (Default).
context — The client goes to a new server when a separate context is used (similar to deprecated dedicated.rmicontext).
lookup — The client goes to a new (randomly selected) server for every request.