I have heard something about HAJNDI in
JBoss, which is used for binding objects in a cluster.
As the same code is run for some clients on Standalone machines
What do you mean by standalone machine? Is it a standalone
java application that you are talking about or are you talking about a application running on a JBoss server which is NOT in a clustered environment?
If its the latter, then i do believe that using HAJNDI should as well work in a non-clustered environment. I havent read the docs yet.