A method and system for performing version-based class loading. In one
embodiment, a first version is sought to continue running an application,
where a first class is associated with the first version being sought. A
first class loader capable of loading the first class is created. The
first class is then loaded using the first class loader.