摘要 |
A method, system and apparatus for loading the correct version of a file in a system in which multiple versions of the same file and multiple versions of a requesting application reside. In a preferred embodiment, a class loader receives a request, from a requesting application, to load a file. The request includes an indication of the current version of the requesting application. The class loader retrieves from a plurality of files, the one version of the requested file that is compatible with the requesting application and then loads that file. Each of the plurality of files includes an indication of plurality of versions for which the particular file is compatible and the version of the requesting application is within the plurality of versions for which the selected file is compatible.
|