1) Could you give me a application in WAR file for AS 7 + jdk7 for cluster and replication session ( fail-over )
I started a small project here called ClusterBench that can be used for easily benchmarking the clustering layer in AS 5 and AS 7 -- https://github.com/rhusar/clusterbench -- its basically just a distributable app exposing different access/usage patterns. It returns kind of serial version of the session, so you can easily check whether the sessions were replicated or not, or how old they are.
( I don;t know how to compile because I'm IT admin not developer )
IC, well that becomes more complicated as this is basic thing to do. If you install maven, then you should be able to build it yourself with no problem.
2) How to set up round-robin balance or other type balance ( in my point only node1 work, node2 not work )
You are probably seeing only 1 node "active" because you are not stressing the server enough. Try to add a lot of clients and see that they will actually loadbalance very well.
BTW you might want to check JMeter for stress testing your severs:
The Apache JMeter™ desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.
I am pretty new to JBOSS and I am trying to get a standalone cluster up and running. I am an IT Admin, not a developer so a lot of the information about EJB and beans does not make sense to me. Could you give me an explanation or a how-to for your cluster test app?