Chapter 5. Delving deeper into modularity

 

This chapter covers
  • Exploring advanced aspects of exporting packages
  • Importing optional or unknown packages
  • Requiring bundles instead of packages
  • Splitting bundles into fragments
  • Dealing with platform dependencies and native code

 

In the preceding chapters, we covered a myriad of details about the three layers of the OSGi framework. Believe it or not, we didn’t cover everything. Instead, we focused on explaining the common specification features, best practices, and framework behavior necessary to get you started with OSGi technology. Depending on the project, the aforementioned features and best practices may not be sufficient. This can be especially true when it comes to legacy situations, where ...

Get OSGi in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.