Assuming that it's even possible, what would be your recomendations to make a bundle compatible between different platform releases? Specially between R3 and R4.
Update about my requirements:
The idea was to develop a web interface for a embedded device that currently runs an OSGi R3 container but that it could be upgraded soon to R4 (we don't have much control over this). The web interface will be deployed using a OSGi HTTP service. I see three options:
- Do the application with R4 as I've seen that some web toolkits doesn't work with older releases. I suppose that the providers of the device could deploy the current R3 bundles on R4 without much effort (but not sure).
- Implement the web interface with R3 and without the benefits of modern web toolkits (or recommend me one).
- Do it with some R4 bundles but some-way release-independent so we can finally deploy it on R3 or R4.