• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Concearn about classloading in a "Seti@Home" kind of setup

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Thanks much,
RDL
 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic