Index Developers Guides Admin Guide Close
A replica-aware stub is a wrapper that delegates its calls to a service instance. It has intelligence about how to deal with load-balancing and failover situations, in which a service might be handled transparently by another server. A replica-aware stub uses a component called the replica handler to encapsulate such behavior. You generate a replica-aware stub by setting the "-replicaAware" flags for RMIC or a similar EJB deployment descriptor property.