Chapter 7. Provisioning and resolution
This chapter covers
- How to find the dependencies your bundles need to work properly
- Using additional constraints to avoid resolution problems
- How repositories and resolvers model bundles and other resources
- How to take advantage of provisioning when writing applications
You may remember that, back in chapter 4, we discussed the concepts of provisioning and resolution. These are two fundamental parts of enterprise OSGi deployment and, as such, are worth a second, deeper look. Although we stand by the statement that “provisioning is a relatively simple operation,” and the fact that many OSGi developers will succeed by treating provisioning as a black box, there are a few subtleties that you can use to your advantage. Understanding subtleties like these marks the difference between a competent enterprise OSGi developer and an expert. Now, adding in the more detailed understanding of OSGi packaging you learned in chapter 5 and armed with your Service Registry experience from chapter 6 we’re ready to discuss provisioning and resolution in more detail.