RichK (1) [Avatar] Offline
On section 13.3.2, it says the following:

"The only difference between specifying the @Clustered annotation on a stateful and a
stateless session bean is that you can’t use a load balance policy other than FirstAvailable with stateful beans. This should be the default value, so you shouldn’t have to change anything."

I don't understand this - if you are replicating the bean state, why shouldn't you be able to load balance across the nodes?

On my test, I successfully set the load balance policy to RoundRobin, and it worked just fine - am I missing something?

Many thanks. In particuar, thanks for writing about clustering - I've found very little information on this in the past, and it is good to have a friendly book about it.