Osgi in a nutshell [note]

Source: Internet
Author: User

Osgi Specification

L an open specification for the delivery of managed services to networked environment.

L osgi services platform: osgi framework & a set of standard service Definitions

 

The osgi framework

L osgi framework: sits on the top of JVM, the excution environment for services

L involves: Services Platform & Deployment infrastructure

 

Services Platform

Software platform that supports the Service Orientation Interaction, involves:


L Service Registry: belongs to the Services Platform

L service provider (bundle): publish service description

L service requester (bundle): Discover service and bind to service provider

 

Bundle

L both a logical as well as physical entity

L JAR file contains code, resources and manifest file (bundle Information)

L responsible for run-time service dependency management activities: publication, disication, binding, adapting to change resulting

 

Deployment infrastructure

L continuous deployment activities: installation, removal, update, starting (activation), stopping (de-activation) of a physical bundle

L The activation or de-activation of a physical bundle results in the creation or destruction of a unique logical bundle, materialized by a bundle activator.

L when the logical bundle is active, can publish or discover services and bind with other bundles, also be notified from changes that occur in the framework by subscribing as an event listener (Service Orientation Interaction ).

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.