Supercharge Your Innovation With Domain-Expert AI Agents!

OSGi (Open Service Gateway Initiative) distributed deployment method based on Hessian service

A distributed, server technology, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problems of complex and huge use, achieve the effect of improving efficiency, reducing complexity and cost, and deploying simple and easy

Inactive Publication Date: 2015-04-08
RUN TECH CO LTD BEIJING
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these two solutions can solve the problems raised in this paper, they are too large and complicated to use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • OSGi (Open Service Gateway Initiative) distributed deployment method based on Hessian service
  • OSGi (Open Service Gateway Initiative) distributed deployment method based on Hessian service
  • OSGi (Open Service Gateway Initiative) distributed deployment method based on Hessian service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention is divided into two parts, namely OSGi service export and OSGi service import.

[0022] The deployment method flow of the present invention is as follows figure 1 As shown, the steps are:

[0023] Firstly, each service in server A that needs to be deployed on other servers is registered as a Hessian Servlet on server A and published; wherein, server A is a server with OSGi services.

[0024] Then, when a server B needs to deploy OSGi services, server B searches for the Hessian Servlet published on server A, server B selects the Hessian Servlet to be deployed, and imports it to server B using Spring’s integrated Hessian import interface, and the server B generates a Spring Bean for the selected Hessian Servlet.

[0025] Server B then injects the generated Spring Bean into the desired caller.

[0026] Among them, when the service is exported, such as figure 2 As shown, it is necessary to first find the object implementing the service in the OSGi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an OSGi (Open Service Gateway Initiative) distributed deployment method based on a Hessian service. The method comprises the following steps that 1) each service, which needs to be deployed to the other server in a server A, is registered as the Hessian service and is published on the server A, wherein the server is a server provided with the OSGi server; and 2) a server B searches the Hessian service published on the server A, the server B utilizes a Hessian import interface to lead the selected Hessian service into the server B and a Spring Bean generates for the selected Hessian service on the server B, and then the generated Spring Bean is injected into a required caller. The method has the advantages of simple deployment, easiness in understanding and capabilities of effectively reducing complexity and cost for system deployment and improving the efficiency for problem solving in the distributed deployment environment.

Description

technical field [0001] The invention relates to the field of computer software development and deployment. Specifically, the invention discloses a method for deploying plug-in applications conforming to OSGi specifications in a distributed environment. technical background [0002] OSGi is a well-known Java modularization specification in the industry, supported by mainstream application server providers such as Oracle, IBM, and SUN, and has become the de facto Java modularization standard. [0003] In addition to the hardware and operating system, OSGi's modular specification defines the execution environment layer, module layer, life cycle layer, service layer and security layer. The service layer provides management functions for the services published by the components, including the management of service registration, search, and cancellation, etc., and the components communicate through the services published by the components. When OSGi performs service registration,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/24H04L29/08
Inventor 张宏伟
Owner RUN TECH CO LTD BEIJING
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More