- Calls to System.exit()
- Starting up using main(String[]) method
- Using the Thread Context Classloader (TCCL)
- The source may not be available
- Modification of source code may violate copyright
- It may be practically impossible to find & fix all instances of violations
The Knopflerfish OSGi framework has come up with a solution to address these concerns; bytecode level patching at runtime. The violations are located & patched at runtime. There is a very good presentation by OSGi veterans Gunnar Ekolin & Erik Wistrand from Makewave titled 'Everything Can be a Bundle', which is a MUST READ for any OSGi newbie & even for people who have been working with OSGi for sometime.

0 comments:
Post a Comment