Spring Dynamic Modules for OSGi™ Service Platforms *

Frequently Asked Questions


Costin Leau (SpringSource)


* - OSGi is a trademark of the OSGi Alliance,project name is pending OSGi Alliance approval.

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.

1. Frequently Asked Questions
1.1. What happened to "Spring OSGi" project name?
1.2. Why aren't there any javadocs on *.internal.*?
1.3. What are Spring Dynamic Modules requirements?
1.4. Are there plans to support other dynamic module frameworks (such as the JSR 277 extensions in Java 7)?
1.5. Will Spring-DM work in restricted environments (such as small/mobile devices)?
1.6. What OSGi platforms are supported?
1.7. Where can I learn about OSGi?
1.8. I have problems building the sources. What can I do?
1.9. I get an exception about backport-util-concurrent library being required. Why is that?
1.10. How can I use logging in OSGi?
1.11. If you use the commons-logging API, why rely on SLF4J and not the commons-logging jar?
1.12. I have to use commons-logging, what can I do?
1.13. Why don't you use the OSGi logging service/[insert your favourite logging library in here]?
1.14. I have to use [insert name] library/framework inside. What can I do?
1.15. java.lang.NoClassDefFoundError: javax/transaction/... when trying to do data access
1.16. The autoExport option doesn't work properly!
1.17. When using Spring-DM integration testing I get an exception about serialVersionUID. What is the problem?
1.18. I'm using Eclipse PDE and I started getting some weird exceptions/behaviour. What's the matter?
1.19. I'm upgrading to Spring-DM 1.1 but now I get some ClassNotFoundExceptions. What has changed?
1.20. I've noticed that objects imported by Spring-DM are not always equal to the raw target service. Why is that?