Patent ID: 7890945
Filing Date: 2011-02-15
Classification: G06F

Abstract:
1. A method for versioning classes in an Open Service Gateway initiatve (OSGI)-enabled Java 2 Platform Enterprise Edition J2EE environment, comprising: packaging a first version of code into a first OSGi bundle, wherein the first version of code is marked for export; packaging a second version of code into a second OSGi bundle, wherein the second version of code is not marked for export; determining whether an application needs the first version of code or the second version of code; if the application needs the first version of code, constructing a classloader hierarchy using existing classloaders; and if the application needs the second version of code, creating a new classloader and using the new classloader to load an application class; wherein the new classloader loads the application class by plugging into a leaf node of a classloader hierarchy constructed using existing classloaders.