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

SSH (Struts, Spring and Hibernate) frame based code automatic generation method

An automatic generation and code technology, applied in the direction of program control devices, etc., can solve the problems that users cannot customize code templates, the structure or version is not flexible enough, and the source code of business objects cannot be automatically generated, so as to save software development time and improve development. The effect of efficiency and rapid development

Inactive Publication Date: 2013-05-08
ZHENGJIANG PUBLIC INFORMATION
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing technology has certain limitations in terms of personalization and flexibility: first, the architecture or version is not flexible enough; second, it is impossible to automatically generate all source codes of business objects according to the database; third, users cannot customize code templates

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
  • SSH (Struts, Spring and Hibernate) frame based code automatic generation method
  • SSH (Struts, Spring and Hibernate) frame based code automatic generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to understand the present invention and its advantages more fully, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0015] First, refer to figure 1 , the method for automatically generating codes based on the SSH framework according to the present invention is described in detail.

[0016] Such as figure 1 Shown, according to the code automatic generation method based on SSH framework of the present invention comprises:

[0017] Step S102: Customize relevant information, which includes custom code templates and database information.

[0018] Specifically, the custom code templates include: (1) custom foreground source code templates, which for example include Peer, Action, Form, Service, Dao, JunitTest code templates, etc.; (2) custom background source code templates, which For example, include query, add, modify, detail, delete page template, etc. By customizing the co...

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 an SSH (Struts, Spring and Hibernate) frame based code automatic generation method. The SSH frame based code automatic generation method comprises the steps of: A, customizing relevant information which includes customized code templates and database information; B, configuring a database type, a database parameter, a source code storage path; C, selecting different code templates and database objects needing to be generated based on the customized code templates and the database information in the step A; and D, automatically generating a source code based on the configuration information in the step B and the code templates and database objects selected in the step C.

Description

technical field [0001] The invention relates to computer code generation technology, in particular to an SSH frame-based automatic code generation method. Background technique [0002] With the rapid development of computer and software technology, the demand for software products has been growing. Faced with such a huge software demand, how to improve the production efficiency of software and reduce the cycle and cost of software development has become an important issue for software developers and even the whole industry. focus of the industry. [0003] In the existing software development process, more advanced development languages, code reuse or code generation components are mainly used to improve development efficiency. For example, the currently popular Javascript framework jquery, which is a lightweight js library (only 21k after compression), provides mature plug-ins for users to choose, and can keep the code and html content separated in the user's html page. ...

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/44
Inventor 高鑫军胡小刚沈建
Owner ZHENGJIANG PUBLIC INFORMATION
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