I have two servers in a HA mode. I'd like to know if is it possible to deploy an application on the slave server? If yes, how to configure it in jgroups? I need to run a specific program that access the master database, but I would not like to run on master serve to avoid overhead on it.
I'm not sure I understand the question. You can deploy your applications on either or both servers as you like. There is nothing to configure within JGroups.