[OSGI] Introduction to OSGi Intro

Source: Internet
Author: User

1, the introduction of OSGi:

OSGi is an abbreviation for Open Service Gateway initiative, a dynamic model system for Java. The OSGi service platform provides services to Java, which makes Java a preferred environment for software integration and software development, and is described in more detail on the encyclopedia:

Http://baike.baidu.com/link?url=jZjzRuQzq7R_3i5Itkykb80ecbAC_ Ygfx-zpsrcu43zmsa13bmzgc86fydvxqe3csoeplphub2aicvx-cgnonpkkpqe9jctveqecocz1ige

2. Typical application

Typical examples of OSGI applications are two, all of which are very well-known, namely the application control systems of Eclipse and BMW vehicles.

Eclipse's plug-in architecture and the idea of OSGI are very coupled, emphasizing the concept of micro-core + system plug-in + application plug-in, after the Eclipse 3.1 version, you can
The obvious sense of the increase in startup speed, but also make it possible to manage the plug-in at runtime, the more obvious promotion is the development of plug-ins more specifications, so that many existing OSGI plug-ins can be used. Eclipse also brings to the industry a good plug-in system experience and plug-in system development experience (the above statement excerpt from "OSGi Combat")

3. The framework of OSGi

The framework for implementing OSGI in the open source world is more well-known: Equinox, Knopflerfish, Oscar. But the industry's most widely used is Equinox,equinox is one of the projects in Eclipse, Equinox is known as OSGI R4 RI, and because Equinox has a successful case of Eclipse IDE, it reflects Equinox as O The advantages of the SGI framework. Equinox is currently being released with the Eclipse release, and it also provides a standalone download that can be downloaded to Equinox for all implementations of OSGi R4 as well as the bundles provided by Equinox extending OSGi R4 in separate download pages. Since Equinox itself is a project of Eclipse, the framework of OSGi has been integrated in the eclipse version after 3.7;

4. Environment ConstructionInstall the Java Configuration environment variable first, then download eclipse (I downloaded version 4.4,http://www.eclipse.org/downloads/) Install eclipse will find the following package under the Plugins directory:














[OSGI] Introduction to OSGi Intro

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.