OK, I'll use one SessionFactoy per JVM.
Just to clarify, you said:
Quote:
This SF should be unique : use either JNDI or singleton.
When you use JNDI in a cluster, by default most appservers will replicate a non-managed object such as a SessionFactory across the cluster.
You said:
Quote:
Have 1 SF per cluster nodes is just fine.
Normally I wouldn't correct anyone's grammar but in this case what you said is unclear to the point that it could mean either of the two possible choices so I had to ask did you mean a) Having 1 SF for each cluster node is just fine or b) Having 1 SF for the entire cluster is just fine. I understand now that you meant (a). Right?
=Jeremy=