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

Transaction processing method based on JVM sharing mechanism

A technology of transaction processing and sharing mechanism, which is applied in the direction of electronic digital data processing, program control design, program control device, etc., can solve the problems of increasing alarm messages, inconvenience, and high pressure, and achieve the effect of reducing the burden of operation and maintenance

Pending Publication Date: 2020-06-26
百卓网络科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Some enterprises deploy systems on the intranet, and it is inconvenient to add alarm messages
If there is an alarm on the server, it cannot be predicted in advance, and the pressure on operation and maintenance will be high

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
  • Transaction processing method based on JVM sharing mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be further described below in conjunction with accompanying drawing and exemplary embodiment:

[0018] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific examples.

[0019] Take (application module) jetty container as an example (other application modules such as tomcat and other containers have the same principle). When starting, put the class loader ClassLoader of the current thread into java.lang.ClassLoader, and create a war package for each module ( context of the jetty container). The jar package under the lib package in each module, or the class class in each project, is considered as the content in the public domain, and is placed in a public java.lang.ClassLoader. The value of the public ClassLoader is that if there is a ClassLoader in the current thread, it will take the current thread, and if it...

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 transaction processing method based on a JVM sharing mechanism. When more than two application modules are loaded in one application, the common sub-modules in the more thantwo application modules are partially extracted, and a common memory space is opened up in the JVM to store the common sub-modules, so that the more than two application modules share one class loaderas long as the A and B common resources are loaded once; when an application module is started, a class loader ClassLoader of a current thread is put into a java.lang.ClassLoader, and a war packet iscreated for the module; the public ClassLoader value is that if the ClassLoader exists in the current thread, the current thread is taken, and if the current thread cannot be taken, the ClassLoader of the jetty container is taken. According to the method, under the condition of software local deployment, extra middleware does not need to be used, and transaction control among multiple modules isachieved.

Description

technical field [0001] The invention belongs to the field of software, and relates to a transaction processing method based on a JVM sharing mechanism. Background technique [0002] With the acceleration of enterprise upgrading and transformation, enterprises must improve efficiency and reduce costs if they want to stand out from the fierce competition. In manufacturing and processing enterprises, procurement costs account for about 70% of the total cost. Every point of reduction in procurement costs will bring about a huge increase in efficiency. The traditional procurement model - buyers and suppliers can not communicate effectively, can no longer adapt to the development of modern enterprises, enterprises need to speed up the construction of information technology. The procurement system developed with computer programming language realizes online procurement, transparency, and refined control of the procurement process. To achieve collaboration between buyers and supp...

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/455
CPCG06F9/45558G06F2009/45583G06F2009/45575Y02D10/00
Inventor 夏春陶富成赵毅
Owner 百卓网络科技有限公司
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