Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

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

Embodiment Construction

[0020] The dynamic upgrade process of the Web business system based on the Java platform is the hot replacement process of the Java class files 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 files is redefined. method to realize the dynamic loading of Java class files (such as Jar packages), specifically: create a custom class loader, make the newly created class loader inherit the specified parent class loader, and set the parent class loader to is an empty value, then use the new class loader to load at least one Java class file in the preset storage location, and use the class loader after loading the Java class file to replace the loaded class loader specified in the Java platform kernel.

[0021] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

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

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products