Chapter 8 Creating J2EE Applications for BEA WebLogic
To replicate the state of a stateful session EJB in a WebLogic Server cluster, ensure that the cluster is homogeneous for the EJB class. In other words, deploy the same EJB class to every WebLogic Server instance in the cluster, using the same deployment descriptor. In-memory replication is not supported for heterogeneous clusters.
By default, WebLogic Server does not replicate the state of stateful session EJB instances in a cluster. This models the behavior released with WebLogic Server Version 6.0. To enable replication, set the replication-type deployment parameter to InMemory in the weblogic-ejb-jar.xml deployment file. For example:
<stateful-session-clustering> ... <replication-type>InMemory</replication-type> </stateful-session-clustering>
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |