Osgi practice -- Notes for learning osgi opendoc written by bluedavy

Source: Internet
Author: User
Osgi can be used to provide a blueprint for the infrastructure of our company's platform. Take a good look. Osgi Practice 1 Overview:

This article was completed by bluedavy on April 25, 20068, just three years later. On the one hand, I am indeed behind this. On the other hand, I have the honor to stand on the shoulders of giants and think about it. Foreign countries have made great achievements in the software field, especially the Open Source Field. Our company is a little timid in introducing open-source technologies. The main concern is the fear of open-source technologies. In addition to improving reusability, we need to introduce open-source technologies to improve development efficiency and enhance integration.

Another important point is to bring our company's software development (especially business software development) into the "integration" track. This is a conversion of development ideas. More specifically: Platform (Softswitch,(Devices) software development focuses on reuse, and business software development focuses on integration (unlike reuse, integration is not just about integrating itself, including integrating open source ).

I mentioned a plug-in architecture, which is similar to my blueprint for our company's platform. Inspired by the blueprint of our company's software development platform (framework), it is the Eclipse plug-in architecture that is built on osgi. So I have to study osgi. (Model-driven development may be the mainstream development model in the future, but I think osgi will be a good foundation for model-driven development .)

 

2. Experience osgi

Similar to eclipse, as long as the plug-in is placed in a directory, it can be loaded when the program is running. In my opinion, it is very important that the osgi framework manages plug-ins (storage, index, and reference. This will facilitate integration.

OsgiCompared with traditional development methods, the advantages of modules are organization, reuse, and wide expansion.

"But Equinox has learnedEclipse extension pointsDesignTo make bundle extension completely feasible ."

3 What does osgi bring?

· In terms of demand implementation, osgi provides support for dynamic expansion, modification of system functions, and change of system behavior.

From a technical point of view, osgi brings about standardized module organization and unified development methods, this provides new guidance and support for the Organization, development, and accumulation of traditional modules.

Specifically:

1. pluggable system.

2. A system that dynamically changes behaviors.

3. stable and efficient systems. The osgi-based system adopts the microkernel mechanism, which ensures the stability of the system. The dynamic principle of osgi ensures that the system starts the corresponding bundle and service. The microkernel is a good design concept that can improve system stability, scalability, and reusability. My process engine development is also based on the microkernel mechanism.

4. Standardized and accumulative modules. The accumulation of modules is the basis for the development of software companies. Only when the project experience module of the company's unique competitiveness is accumulated can the development of the company be sustained and fast, after a standardized module development and deployment method is formed, the accumulation of modules is naturally appropriate.

I have read the necessary research on the source code of the osgi framework.

 

Not complete, to be continued.

 

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.