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

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; program debugging and program code maintenance are cumbersome, how to help developers free themselves from cumbersome coding technical details, reduce the workload of repetitive code development, and make them focus on Focusing on business issues and logic processing, and improving development efficiency and quality are the subjects that technicians in the field have been studying

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

Embodiment Construction

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

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

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

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

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

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

[0032] That is: the database engineer design...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products