Hey all -
out of curiousity, has anyone here looked at OSGi? In a lot of ways it
seems like there would be an interesting fit / refactoring of OFBiz that
could be done using OSGi as a basis. An implementation of OSGi
(Equinox) is used as the foundation for Eclipse. I've also noticed that
Felix (originally known as Oscar) - another open source OSGi
implementation - is now an Apache Incubator project. And another OSGi
implementation can be had via Knopflerfish. And, the upcoming Spring
release is adding support for OSGi.
The basic distributable chunk of code in OSGi is referred to as a
Bundle. All in all it looks like an excellent way to bundle and deploy
components (service bundles), manage their life-cycle, and resolve
dependencies. It would almost seem possible to re-bundle most OFBiz
component jars as OSGi bundles (not necessarily an optimal approach) -
which would allow for the dynamic loading/unloading of components with
relative ease.
More information is available at:
http://www.osgi.org/
- Porter Woodward