Spring Dynamic Modules for OSGi™ Service Platforms *

Frequently Asked Questions

Authors

Costin Leau (SpringSource)

2.0.0.M1

* - 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. I keep getting java.lang.NoClassDefFoundError: javax/transaction/... when trying to do data access..
1.16. When doing integration testing I receive java.lang.NoClassDefFoundError: org.osgi.vendor.framework property not set...
1.17. The autoExport option doesn't work properly!
1.18. When using Spring DM integration testing I get an exception about serialVersionUID. What is the problem?
1.19. I'm using Eclipse PDE and I started getting some weird exceptions/behaviour. What's the matter?
1.20. I'm upgrading to Spring DM 1.1 but now I get some ClassNotFoundExceptions. What has changed?
1.21. I've noticed that objects imported by Spring DM are not always equal to the raw target service. Why is that?
1.22. My Spring DM collection doesn't change even though the number of OSGi service changes. What's wrong?
1.23. I have upgraded to Spring DM 1.2 but my custom extender/web extender configuration doesn't work anymore. What has changed?
1.24. I get a java.lang.LinkageError: loader constraint violation if I use Spring DM. Things work fine with vanilla OSGi. What's wrong?
1.25. What can I use Spring DM with the Blueprint Container spec? What's the relationship between the two? Are the they compatible? Are there any differences?
1.26. I'm using Knopflerfish 2.3.x and I have a lot of visibility exception. How can I fix this?