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 ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.