It isolates the various web applications deployed in the container; that is, the behavior of the web application will not depend on (un) deploying another web application.
Each webapp sees only its own classes, and not those provided by other applications. This allows different webapps to use different versions of the same class. Deploying multiple web applications would be a nightmare without this isolation.
Similarly, OSGI packages get their own class loaders, so different packages can use different versions of the same plugin. Again, this isolation makes it less likely that adding a plugin (with its depot libraries) will affect other plugins in the system.
meriton
source share