Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for handling class conflict problem

A conflict problem and processing method technology, applied in the direction of program control device, electronic digital data processing, program control design, etc., can solve problems such as low transparency, high labor cost, complex class loading problem and strategy

Inactive Publication Date: 2016-06-29
SHANDONG CVIC SOFTWARE ENG
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor found that Tomcat has very few strategies for dealing with class loading problems of WEB modules, and does not provide a non-delegated strategy; Weblogic's strategies for class loading problems of WEB modules are complicated and not very transparent
Therefore, when a class conflict occurs during class loading, it is usually necessary for professional staff to solve the class conflict problem based on personal experience, which results in high labor costs, and often occurs due to the experience of professional staff. Effectively resolve class conflict issues
That is, there is no technical solution that can effectively deal with the class conflict problem in the prior art

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 handling class conflict problem
  • Method and device for handling class conflict problem
  • Method and device for handling class conflict problem

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] see figure 1 , which shows a flow chart of a method for handling a type of conflict problem provided by an embodiment of the present invention, which may include the following steps:

[0042] S11: When a class conflict problem occurs during class loading, configure the loading mechanism according to the class conflict problem.

[0043] It should be noted that the class conflict problem is consistent with the class conflict problem in the prior art. For...

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 a method and device for processing class conflict problems, and displays the cause and configuration of the class conflict problem to users in a visual manner, wherein the method includes: when the class conflict problem occurs in the process of loading classes , configure the loading mechanism according to the class conflict problem; if the loading mechanism is the parent loading package mechanism, when the application server AS and the WEB module both contain class loading resources corresponding to the class, use the parent class loader to load the class contained in the AS Load resources to load; if the loading mechanism is the WEB loading package mechanism, when both the AS and WEB modules contain class loading resources, use the WEB class loader to load the class loading resources contained in the WEB module; When the class loading resource is contained in the AS, the parent class loader is used to load the class loading resource contained in the AS. Through the above-mentioned technical features disclosed in the present application, the class conflict problem can be effectively solved.

Description

technical field [0001] The present invention relates to the technical field of class loading, and more specifically, to a method and device for processing class conflicts. Background technique [0002] Major manufacturers of middleware, such as Tomcat and Weblogic, have different strategies for dealing with the class loading problem of WEB modules, and different strategies determine whether they can avoid class loading problems to the greatest extent. [0003] The inventors found that Tomcat has few strategies for dealing with class loading problems of WEB modules, and does not provide a non-delegated strategy; Weblogic's strategies for class loading problems of WEB modules are complicated and not very transparent. Therefore, when class conflicts occur during class loading, it is usually necessary for professional staff to resolve the class conflicts based on personal experience, resulting in high labor costs, and often due to the experience limitations of professional staff...

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
CPCG06F9/44552G06F9/44521
Inventor 陈芳芳高隆林韩峰何忠胜赵欣李得亮
Owner SHANDONG CVIC SOFTWARE ENG