In a cluster, is there a way to disable passivation ?
I understand that passivation is used for replication, but I don't need replication (I set isModified() to return false).
Now, as my ejb is really modified, I want passivation to not be used.
Thanks in adavance.
You need to either modify the container configuration your bean(s) is using in standardjboss.xml, or extend a container configuration in the jboss.xml file deployed with the bean(s).
The element you modify is as follows:
This will never passivate the bean.