Class loading separation method and class loading separation device

A type and loader technology, applied in the direction of program control device, program loading/starting, etc., can solve the problems of complex processing process, low efficiency, high cost of class conflict processing, and achieve fault tolerance, compatibility and stability. Effect

Active Publication Date: 2008-01-16
SHENZHEN KINGDEE MIDDLEWARE
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to provide a class loading isolation method t...

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 separation method and class loading separation device
  • Class loading separation method and class loading separation device
  • Class loading separation method and class loading separation device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0045] One of the core concepts of the embodiment of the present invention is to flexibly customize the class path and logic to be loaded by using a self-defined class loader isolation mechanism, so that the class files that the application server needs to load and the class files that are deployed on the application server The class files that the application needs to load are isolated to improve the fault tolerance of the application server and enhance the compatibility and stability of the application server.

[0046] Referring to FIG. 2 , it shows a flowchart of a method embodiment of class loading isolation of the present invention, which specifically includes the following steps:

[0047] Step 201, start a Java process, and ...

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 of class loader isolation. The method is as follows: start up Java process and create therein a user-defined class loader object; add a class path in the user-defined class loader object; create a startup application server thread object and appoint the user-defined class loader object for the class path; and then start up the startup application server thread object. The invention flexibly defines the class path and logic to be loaded by making use of the user-defined class loader isolating mechanism, so as to separate the class file to be loaded by the application server, with the class file to be loaded by the applications deployed on application server. Therefore, the invention can strengthen fault tolerance, compatibility and stability of application servers.

Description

technical field [0001] The invention relates to the class loading isolation field of Java, in particular to a Java virtual machine-based class loading isolation method and a class loading isolation device. Background technique [0002] At present, in the Internet / Intranet / Extranet environment, most enterprise-level application systems adopt three-tier or multi-tier application modes. In order to facilitate the development, deployment, operation and management of applications based on multi-layer structure, it is necessary to build a complete application framework based on the underlying technology of network and distributed computing, and provide corresponding supporting platforms as the infrastructure of multi-layer applications. The key to supporting the platform is the application server in the middle layer. Application server is a platform for creating, deploying, running, integrating and maintaining multi-tier distributed enterprise applications. In enterprise applica...

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 SHENZHEN KINGDEE MIDDLEWARE
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