OSGi Application Patching Strategy
问题 What are appropriate mechanisms for patching an OSGi container. 1) Should the bundles (binaries/jars) have the same name as the old ones then: a. Replace the bundle with the with the new bundle (manifest has been modified to reflect the new version) in the plug-ins folder and, b. Invoke update <bundle id> <bundle name>. 2) Or Should the bundles have version information encoded in the file name a. Copy the new bundle to the plug-ins folder b. Invoke update <bundle id> file:plugins/<new Bundle