March 2012
Intermediate to advanced
384 pages
7h 59m
English
In the Colocate Exceptions pattern, we created a simple loan system. In this chapter, we look at the modules in the Loan system, refactor them into OSGi bundles, and then deploy them to an OSGi environment. You may be surprised at how easy it is to take a system with a modular design and leverage the advantages of a modularity framework like OSGi. As you’ll see, because we already had a modular software system, not a single coding change is necessary to take advantage of OSGi.
Figure 14.1 illustrates the classes and modules in the final structure of our loan system from the Colocate Exceptions “Sample” section. The immediate goal is to refactor these modules so that they’ll execute in an OSGi ...
Read now
Unlock full access