title: Recommendations for compatibility between OSGi platform releases
body: <p>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.</p>
  
  <p><strong>Update about my requirements:</strong></p>
  
  <p>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:</p>
  
  <ul>
  <li>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).</li>
  <li>Implement the web interface with R3 and without the benefits of modern web toolkits (or recommend me one).</li>
  <li>Do it with some R4 bundles but some-way release-independent so we can finally deploy it on R3 or R4.</li>
  </ul>