O'Reilly logo

Oracle WebLogic Server 11g Administration Handbook by Sam Alapati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Load Balancing for EJBs and RMI Objects

Load balancing is more complex for EJBs and RMI objects. For one thing, instead of being limited to the default round-robin load-balancing algorithm, as in the case of servlets and JSPs, you have a choice of multiple load-balancing algorithms. When you cluster an EJB or an RMI object, WebLogic Server deploys instances of those objects on all cluster members and uses replica-aware stubs to invoke clustered EJBs and RMI objects. Replica-aware stubs that represent an RMI or EJB object can find all the instances of those objects within a cluster. When you send a bean that has a cluster-aware deployment descriptor to the EJB compiler, it automatically generates a replica-aware stub for that bean. You can explicitly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required