Class loading isolated system and method based on open service gateway initiative (OSGI)

A technology for isolating systems and class loading, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of low flexibility and coarse granularity, and achieve the effect of flexible configuration

Active Publication Date: 2013-05-22
BEIJING TONGTECH CO LTD +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem solved by the present invention is to propose an OSGI-based class loading isolation system

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
  • Class loading isolated system and method based on open service gateway initiative (OSGI)
  • Class loading isolated system and method based on open service gateway initiative (OSGI)
  • Class loading isolated system and method based on open service gateway initiative (OSGI)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0033] The present invention proposes an OSGI-based class loading isolation system, such as figure 1 As shown, the system includes:

[0034] Converter for converting web application to standard wab;

[0035] a processor for creating a collection of virtual components for said web application;

[0036] A filter, used to set an isolation relationship for the set of virtual components.

[0037] The system also includes a web application class loader, wherein the class isolation between web applications is cooperatively controlled by a filter between the web application class loader and the virtual component set.

[0038] The web application is in the form of bundle or war. The wab converter converts the web application developed in the form of traditional war or bundle into a...

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 provides a class loading isolated system and a method based on an open service gateway initiative (OSGI). The system comprises a converter, a processor and a filter, wherein the converter is used for converting web application to standard wab, the processer is used for creating a virtual assembly set for the web application, and the filter is sued for creating an isolated relationship for the virtual assembly set. The method includes that step1: the web application is converted to the standard wab, and the virtual assembly set is created for the web application; step2: the filter is created for the virtual assembly set; step3: the isolated relationship is created for the virtual assembly set according to a visibility list in the filter. The class loading isolated system and the method based on the OSGI are directed at the web application under a Java EE platform, class isolation between application and isolation of service are controlled according to a fine grit of a specific requirement, and configuration is flexible.

Description

technical field [0001] The invention relates to the field of network and computer technology, in particular to an OSGI-based class loading isolation system and method. Background technique [0002] With the rapid development of computer network technology, for application servers, how to design a class loading structure to satisfy the isolation and sharing of classes in the application server is becoming more and more obtrusive. [0003] The class loaders implemented by traditional application servers are all chain structures. The tail of the class loader chain is usually responsible for loading the private classes under the application. The closer to the front end of the chain, the closer the classes responsible for loading are to the system-level public classes. Therefore, the method of traditional application servers is to place the classes that need to be shared in a location that can be loaded at the front end of the class loader chain, such as the system lib directory,...

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): G06F9/445
Inventor 于洋
Owner BEIJING TONGTECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products