Java Reference
In-Depth Information
OSG
i services use a publish-find-bind model.
■
OSG
i services are truly dynamic and can appear or disappear at any time.
■
The easiest and safest approach is to use the
OSG
i
ServiceTracker
utility class.
■
For higher-level service abstractions, consider the component models in chap-
ters 11 and 12.
■
OSG
i services build on and interact with the previous module and lifecycle layers.
■
OSG
i defines core framework services and additional compendium services.
■
Services aren't limited to distributed or remote applications. There's a huge benefit to
applying a service-oriented design to a purely local, single-
JVM
application, and we
hope you get the opportunity to experience this in your next project.