This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You can try and get ahold of the JBoss documentation and read it. Basically, clustering in JBoss is pretty simple. Just run the server on "all", and deploy your apps in the "farm" directory somewhere in there and it takes care of everything. (This is a brief version of course. Find out the details by a good googling or something similar.)
I too am wondering about how clustering in JBoss 3.2.x is done. I have looked at the Clustering documentation and it is not straightforward (at least for a beginner like me after just one reading), unless it really is as simple as just modiying a few .xml files. Where do you tell it how many partitions/nodes ? Does it just go by what's in cluster-servce.xml and jboss-xml files ? How do you get HTTP session replication in JBoss with Apache/Tomcat -- do you modify any JBoss config files or is it necessary to modify mod_jk (I thought JBoss was running its own integrated Tomcat, and if so shouldn't I modify something like jbossweb-tomcat*.sar/META-INF/jboss-service.xml). I don't have the Clustering docs in front of me but from what I remember they don't give a 1-2-3 tutorial on what steps should be taken to get simple clustering set up. Once I get it working I may post a recipe which works for me.
If anyone can comment on the below I will certainly appreciate your ideas:
How can one make sure that a singleton is shared among all nodes in a cluster, in order to maintain a true single copy of application data ? How can I do the same for a singleton Message-Driven Bean ?