I'm trying to use a Custom LoadBalance Policy for my project.
Is ther a Way of defining a Default LoadBalance Policy for an EJB3.0 application (through jboss.xml) ?
Just wanted to add a comment :
The reason I need a special LoadBalancePolicy is because we are using several DataCenters.
So, for performance reason, we should always try to connect firstly to a server on the local Datacenter.
After that, my loadBalancePolicy behaves likes a RandomRobin.