Java Reference
In-Depth Information
Advanced
component frameworks
This chapter covers
Exploring the OSGi Blueprint component
framework
■
Exploring the Apache Felix iPOJO component
framework
■
Using Declarative Services, Blueprint, and
iPOJO in a single application
■
In the last chapter, we introduced you to component-oriented programming and
how it relates to
OSG
i. We also introduced a lightweight component framework
defined by the
OSG
i Alliance, called Declarative Services, which you used to re-
create your paint program. Declarative Services is just one possible component
framework for
OSG
i. In this chapter, we'll introduce you to two more: Blueprint
and i
POJO
. These component frameworks provide more advanced capabilities than
Declarative Services.
The numerous component frameworks for
OSG
i may at first seem daunting,
but the good news is that you aren't necessarily constrained to a single decision for
all time. Choose whichever one seems best to you now. We'll show at the end of
373