Relational database based generation method of J2EE code

A code generation and database technology, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as cumbersome program code maintenance, and achieve the effects of shortening development time, improving work efficiency, and reducing development costs

Active Publication Date: 2010-04-21
HENAN SPLENDOR SCI & TECH
View PDF0 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of software development and maintenance, there are a large number of basic data object maintenance in any information system, most of which are simple maintenance functions, and the business logic is not complicated. However, due to the large number of basic data objects, even if the same and similar modules are copied, Pasting also requires a lot of work to complete

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
  • Relational database based generation method of J2EE code
  • Relational database based generation method of J2EE code
  • Relational database based generation method of J2EE code

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0026] The J2EE code generation method based on relational database of the present invention is characterized in that it comprises the following steps:

[0027] The first step is to set the target code template definition steps:

[0028] According to the existing framework, the unchanging code is defined as a template, and the variable code is defined as a macro;

[0029] That is: First, the J2EE architect designs the logical architecture for the entire project, configures the target code template according to the requirements of the engineering design logical architecture, defines the variable part of the target code as a macro, and writes the unchanging part directly in the template.

[0030] The second step, external data acquisition steps:

[0031] Obtain relational database table structure parameters, database object annotation information, structured query commands, code generation configuration parameters, and operating system parameters;

[0032] Namely: the database engineer des...

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 relational database based generation method of J2EE codes, comprising the following steps: 1. object code template definition setting: defining an invariable code as a template and a variable code as a macro according to an existing frame; 2. external data acquisition: acquiring a relational database list structure parameter, database object annotation information, a structuralized query command, a code generation configuration parameter and an operating system parameter; 3. logic operation: obtaining the macro related to an object code through logic operation according to the acquired parameters; and 4. code generation: applying the macro to the code template to generate the object code of an MVC three-layer frame. The invention realizes an integral technical proposal to generate the J2EE codes on the basis of the relational database, guided by a two to eight principle of J2EE software development and according to a two to eight principle of the Barrett law that 80 percent of a total result is formed by 20 percent of total consumed time.

Description

technical field [0001] The invention relates to a method for generating J2EE codes, in particular to a method for generating J2EE codes based on a relational database. Background technique [0002] In addition to the early implementation of informatization in finance and telecommunications, the pace of informatization in various industries such as e-government, e-commerce, and enterprise informatization is also accelerating. The most prominent among them is that a large number of information management projects developed according to the J2EE (JAVA 2 Enterprise Edition) standard emerged as the times require. Such projects often appear in a certain period of time and the development time is urgent. Most of them are WEB application systems based on the B / S structure of the relational database system; the purpose of this application system is to solve business problems in a certain field. Configuration is also a real problem. In the process of software development and mainten...

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/44G06F17/30
Inventor 时海清
Owner HENAN SPLENDOR SCI & TECH
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