In this chapter, we've introduced iPOJO and the way it simplifies integrating with a framework by providing inversion of control functionality.
By now, you should be able to:
BundleActivator
using both iPOJO configuration means (XML and annotations)We have also migrated our case study to use iPOJO. We have:
bookshelf-inventory-impl-mock
bundle to use iPOJO to register its inventory implementation bookshelf-service
and bookshelf-service-tui
to also use iPOJO to register them and to inject their dependencies (BookInventory and BookshelfService
respectively.)