Java Reference
In-Depth Information
Component models
and frameworks
This chapter covers
Understanding component-oriented concepts
and terminology
■
Explaining how OSGi relates to component
orientation
■
Exploring the OSGi Declarative Services
component framework
■
So far in this topic, we've shown you how to develop applications using the core
OSG
i framework layers: module, lifecycle, and service. In chapter 2, we mentioned
the similarities between module- and component-oriented programming. In chap-
ter 4, we mentioned how the
OSG
i service model can work alongside component
models. There's obviously some degree of synergy between
OSG
i and component
technologies. This has led a variety of existing component technologies to integrate
with
OSG
i as well as a variety of new component frameworks being built on top of it.
Component-oriented approaches have become incredibly popular in Java
development over the past decade, and a vast number of approaches are available,
345