The document discusses techniques for wrapping legacy Java code as OSGi bundles, including using Knopflerfish's Auto-Manifest feature to automatically import/export packages and patch bytecode at load time. It demonstrates wrapping a Hello World application and the jEdit text editor as OSGi bundles. Upcoming changes will move the patching engine to a separate bundle using a ClassFileTransformer API.