Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part 1: Introducing OSGi: modularity, li... > Delving deeper into modularity

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 you’re not able to make sweeping changes to your existing code base. Sometimes the clean theory of modularity conflicts with the messiness of reality, so occasionally compromises are needed to get things moving or to meet objectives.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint