Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

OSGi Remote Services and ECF

Revision as of 19:10, 26 January 2010 by Slewis.composent.com (Talk | contribs) (Introduction)

Introduction

Chapter 13 in the OSGi 4.2 compendium specification describes a new service-oriented architecture (SOA) standard. This standard uses the OSGi service registry to expose remote services...i.e. OSGi services that are distributed on a network.

In keeping with OSGi's modularity, ECF's support for this standard is implemented as a layered set of application programming interfaces (APIs). The modular structure allows service builders and service consumers to use an 'ala carte' model for defining, creating, deploying, integrating, and running distributed services. Such an 'ala carte' model is helpful for two primary reasons:

  1. It helps reduce overall system complexity. Networked/distributed applications frequently can become very complicated. By only including modules that are actually necessary, rather than including/requiring functionality needed to support other use cases for distributed services, overall system complexity is reduced. For a lucid presentation about the value of modularity for simplifying complicated systems, see How Module Systems Drive Architectures.
  2. It provides flexibility. Networked applications frequently require a good deal of flexibility...i.e. the flexibility to replace one protocol with another, flexibility in deployment and management, etc. The flexibility of using OSGi modularity allows consumers to mix-and-match transport protocols and serialization formats, supports interoperability, and easy integration with existing systems, and supports use of synchronous and/or asynchronous invocation patterns as needed.

Here is a diagram showinthe ECF modules that implement the standard.

Distributedosgi1.png

Here are two examples (with source) showing the use of ECF's remote services to expose and access a 'hello world' remote service.

  1. RFC119 - Getting Started with ECF's OSGi Remote Services Implementation
  2. Remote Services API - Getting Started with Using the ECF Remote Services API

Related Documentation

ECF API Docs

API Javadocs

Getting Started with ECF's RFC119 Implementation

Getting Started with Using the ECF Remote Services API

Distributed EventAdmin Service

Eclipse Communication Framework
API
API DocumentationJavadocProviders
Development
Development GuidelinesIntegrators Guide

Back to the top