I agree, class loaders are the answer (in particular java.net.URLClassLoader). 
However, they are pretty low-level. For a more declarative way to deal with the 
problem check technologies like WebStart/JNLP or OSGi. In OSGi, bundles have an 
update URL and the OSGi runtime does the update for you. 



On 14/03/2012, at 7:04 AM, Donald McLean wrote:

> I don't know about the pattern literature, but this kind of thing can be 
> done with custom class loaders in JVM environments (and possibly other 
> virtual machines).
> 
> 
> On 3/12/12 2:46 PM, Dragos Manolescu wrote:
>> Hi --
>> 
>> I'm building a system that needs the ability to self-update (software)
>> from the network, at run time. This is an area I don't have first hand
>> experience with but I know that it's been done for years--for example,
>> telecom switches. If you know of patterns that focus on
>> self-updateable software I would appreciate your pointing me their
>> way.
> 
> _______________________________________________
> patterns-discussion mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/patterns-discussion


_______________________________________________
patterns-discussion mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/patterns-discussion

Reply via email to