i read somewhere that the JVM has to be made aware of the cluster, that the JVM wont use all the resources of the cluster unless it is told so, and will just run on the host computer. how do we make the JVM aware of the cluster?
To the best of my knowlege the JVM does not have to ability to cluster by itself. If you are talking about running a clustered web app then the clustering is done through the web server and/or the container (ie. Apache/Tomcat). Again this is to the best of by knowlege, I don't have much experience setting up or running a clustered web service.
Although Java was designed from the beginning to facillitate cooperation between computers, the standard library only has packages such as java.io java.rmi and java.net to manage simple communication. More complex issues of coordination are handled in specialty tools such as JINI. See this JINI site for examples. Personally I like the JavaSpaces concept for coordinating work by clusters of Java systems. See the "Distributed Java" forum here at the ranch. Bill [ June 30, 2005: Message edited by: William Brogden ]
Hi Ali, Are you talking something to do with the mobile agents ...if yes, then i think you have to go in for aglet framework...which allows stationery and mobile agents to have their work done on a user's behalf.....so that you can start a main process from your pc and rest of the work in handled by the mobile agents......