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

Hot-deployment entity component

An entity class, hot deployment technology, applied in the direction of program loading/starting, program control device, etc., can solve the problem of not being able to complete the entity model mapping in real time

Inactive Publication Date: 2008-08-06
鞠京佳 +1
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] If the dynamic entity bean is not supported, the defect is obvious, that is, when the business entity model changes, the system or application using Hibernate cannot reload the corresponding entity class without restarting the deployed system , so that the mapping from the entity model to the database table structure cannot be completed in real time

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
  • Hot-deployment entity component
  • Hot-deployment entity component

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The claims and the summary of the invention are further described below with examples.

[0019] Fig. 1 is a schematic diagram of comparing the loading order of the traditional technology and the respective solutions of the present invention. In the figure, Parent ClassLoader (parent class loader), EntityClassLoader (entity class loader), and ClassLoader Controller (class loader controller) are all class loaders, which are given different names due to different roles. A directed line, that is, an arrow line indicates the direction of the search action, and numbers on the line indicate the steps of the search action, reflecting the sequence; a dotted line indicates that there can be multiple class loaders.

[0020] The upper picture in Figure 1 is the default sequence of loading classes by the system in the current technology, and the detailed steps are as follows:

[0021] Step 1. Check whether the class has been loaded, that is, check whether there is such a class in 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 present invention relates to a hot deployment entity class component, which is a realization mode of object relation mapping and is used to realize the data information exchange and data transmission of digital media resources. The present invention comprises a dialogue factory class, a class loading controller and a class loader. The steps of the present invention are that: a class byte code stream is added to the dialogue factory class; the dialogue factory class invokes the class loading controller, sends the class byte code stream to the class loading controller for processing; the class loading controller creates a new entity class loader and compiles transmitted byte codes as a newly created entity class; the entity class is sent back to the dialogue factory through the class loading controller to finish the hot adding to the entity class; an instruction in uninstall assignment class is sent to the dialogue factory class, and the dialogue factory forwards the instruction to the class loading controller; the class loading controller deletes the class loader of the class, clears and destroys the class loader from cache, so as to complete the hot uninstall of the entity class.

Description

technical field [0001] The hot-deployment entity class component of the present invention is an implementation method of ORM (Object Relational Mapping, Object Relational Mapping) function in the Java language, and is used to realize data information exchange and data transmission of digital media resources. Background technique [0002] ORM is a technology that solves the mismatch between object-oriented and relational databases. It is a functional module that is used in many programming languages. Hibernate (an open source product, free and widely used in the market) is a typical implementation of ORM functions in the Java field. Hibernate presents the mapping from static entity beans to databases. Static entity beans refer to data types with a series of attributes that have been pre-defined before the program runs. They do not have scalability at runtime, so they do not support dynamic entities. Bean hot deployment. [0003] The so-called hot deployment, also called the...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445
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