Concearn about classloading in a "Seti@Home" kind of setup
posted 12 years ago
I am writing an application to run kind o like a Sati@home kind of network. The plan is to install a small service running various client computers around the university such that they will connect to a server which can deliver data task to execute.
Now one of the problems I am forseeing is that my codebade may be changing quite a bit and so I have been thinking that if I run my distributed problem, stop it, change some of the classes and run it again, then the classes will have the same name, and thus I am expecting that it will try to reload the class based on the class name from the RMIClassloader although this version may be incompadible with that class.
The second question then is, if this IS a problem, how can I specify different codebases on the server at runtime? For instance, if I run it once with one jar file, what if I run a seperate problem using another jar file?