Method and device for dynamically upgrading Web service system based on Java platform

A business system and dynamic upgrade technology, applied in the computer field, can solve problems such as the impact of the normal operation of the Web business system, achieve the effect of improving performance and service quality, and ensuring continuity

Active Publication Date: 2011-05-25
ZTE CORP
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Frequent changes in business requirements usually require 24-hour uninterrupted service of the Web business system. When the system is upgraded, the Web business system needs

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
  • Method and device for dynamically upgrading Web service system based on Java platform
  • Method and device for dynamically upgrading Web service system based on Java platform
  • Method and device for dynamically upgrading Web service system based on Java platform

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0020] The dynamic upgrade process of the Web business system based on the Java platform is the hot replacement process of the Java class file running in the Web business system. In the embodiment of the present invention, the class loading method is rewritten, that is, the loading of the Java class file is redefined way to realize the dynamic loading of Java class files (such as Jar packages), specifically: create a custom class loader, make the new class loader inherit the specified parent class loader, and set the parent class loader If the value is empty, then use the newly created class loader to load at least one Java class file in the preset storage location, and replace the loaded class loader specified in the Java platform kernel with the class loader after loading the Java class file.

[0021] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0022] In the Web business system based on t...

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 relates to the field of computers, and discloses a method and a device for dynamically upgrading a Web service system based on a Java platform, which are used for realizing dynamic upgrading of the Web service system on the premise of not interrupting a Web service. The method comprises the following steps of: loading a Java-class file at an appointed position by adopting a self-defined class loader; and replacing an appointed class loader in a Java platform core by adopting the class loader in which the Java-class file is loaded. Thus, an original Java-class file can be directly replaced by adopting an upgraded Java-class file to realize the dynamic upgrading of the Web service system without restarting a Web server or interrupting the Web service. Therefore, the continuity of the Web service is ensured, the performance and the service quality of the Web service system are improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for dynamically upgrading a Java platform-based Web service system. Background technique [0002] With the continuous updating of Web technology, Web business systems based on different architectures emerge in endlessly. Due to the cross-platform advantages of the Java language, the application of J2EE-based Web business systems is more extensive, covering almost all walks of life, such as the telecommunications industry, the financial industry, etc. Wait. Frequent changes in business requirements usually require 24-hour uninterrupted service of the Web business system. When the system is upgraded, the Web business system needs to be stopped, which will inevitably interrupt the business operations of current users and affect the normal operation of the Web business system. will have a certain impact. [0003] In view of such drawbacks and limitations, it is necessar...

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 ZTE CORP
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