Code generation method and device

A code generation and code technology, applied in the direction of program control devices, etc., to achieve the effect of improving development efficiency
CN101714078AInactive Publication Date: 2010-05-26广东金宇恒科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
广东金宇恒科技有限公司
Publication Date
2010-05-26
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to a code generation method and device, which generates codes under a J2EE open source integrated framework. The method comprises the following steps: a, selecting showing types required to be generated according to service conditions; b, creating uniform models according to the conditions of data sources, wherein the data sources comprise JAVA objects, XML data, the physical table or JSON data of a relational data base; c, determining the class path of an entity class according to the conditions of the unified models; d, processing the attribute of an entity according to the conditions of the unified models; and e, generating code files according to the attribute of the entity, whrein the code files comprise background codes, foreground codes and configuration codes. The method and the device can better solve the problems of the repeating of service codes art and the standardization and unification of codes which can not be solved by the prior framework.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to program control devices, and more particularly to devices for executing specialized programs. Background technique

[0002] With the development of J2EE (JAVA2 Platform Edition) technology, lightweight open source frameworks such as hibernate framework, spring framework and webwork / struts are increasingly used by software development companies for B / S business processing. These light-weight open source frameworks are characterized by lightweight, universal and good scalability, which can help solve some core technical difficulties in project development, such as: developers do not need to consider the stability, performance and expansion of the framework.

[0003] However, the framework can only determine the development mode of the entire project and solve some general problems, and there are some problems that it cannot solve, such as:

[0004] Duplication of business codes. Because the framework cannot know the bus...

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