CN110069246A - The plateform system and its application that a kind of Java Web application is quickly developed - Google Patents
The plateform system and its application that a kind of Java Web application is quickly developed Download PDFInfo
- Publication number
- CN110069246A CN110069246A CN201910244057.9A CN201910244057A CN110069246A CN 110069246 A CN110069246 A CN 110069246A CN 201910244057 A CN201910244057 A CN 201910244057A CN 110069246 A CN110069246 A CN 110069246A
- Authority
- CN
- China
- Prior art keywords
- page
- java
- code
- database
- plateform system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of Java Web to apply the plateform system quickly developed, the system comprises: platform base frame, for providing exploitation operation system general basic module;Database code generator, database table structure, the corresponding JAVA entity class program code of generation database table, generation database table field XML mapped file corresponding with JAVA entity class are generated for defining and generating, developer does not need the hand-coding Java entity class on Eclipse developing instrument;Control layer generator, for generating Struts2 control layer Java code;Page code generator, for generating list page JSP program file and page JSP program file, the additions and deletions that the present invention can define database structure online, generation operation system is commonly used, which change, looks into the page and program code, the time of development time and program debugging is greatly shortened, programmer only needs to pay close attention to the exploitation of service logic.
Description
Technical field
The present invention relates to Java software development fields, and the present invention relates to softwares quickly to develop, specially a kind of Java Web
Using the plateform system and its application quickly developed.
Background technique
Mainly there is SSH (Spring+struts2+Hibernate) and SpringMVC+ in existing Java open source field
The MVC frame of two kinds of mainstreams of Mybatis.Mature MVC frame and ORM product (database middleware) is provided to development platform
Floor layer Technology support, compared to traditional JSP+JavaBean technology, SpringMVC realizes point of web page display and control logic
From the separation of service logic and database.The prior art (SSH frame) although solve the presentation layer of MVC frame, control layer,
The separation of Business Logic, but it is big in the presence of difficulty is integrated, in addition lack code generator function.
The present invention is the quick development platform based on the Floor layer Technology Development of Framework based on SSH, can online self-defining data
Database table structure, and changed according to database table structure generation additions and deletions and look into the page.The additions and deletions of generation, which change, looks into the page and contains list number of pages
According to displaying, condition query, data inputting, data are deleted, EXCEL is imported and exported, significantly saves developer's exploitation and adjust
Try the time of program.
Summary of the invention
In order to solve problem above, the present invention is provides a whole set of code generator using the developer of SSH frame
Function can define database structure online, generate the additions and deletions that are commonly used of operation system and change and look into the page and program code, significantly
Shorten the time of development time and program debugging, programmer only needs to pay close attention to the exploitation of service logic.The present invention provides one kind
The plateform system that Java Web application is quickly developed.
A kind of plateform system that Java Web application is quickly developed, the system comprises:
Platform base frame, for providing exploitation operation system general basic module;
Data are for library code generator, for defining and generating database table structure, generate the corresponding JAVA reality of database table
Body class method code generates database table field XML mapped file corresponding with JAVA entity class, and developer does not need
Hand-coding Java entity class on Eclipse developing instrument.
Control layer generator, for generating Struts2 control layer Java code;
Page code generator, for generating list page JSP program file and page JSP program file.
Further, the plateform system is based on SSH bottom architecture.
Further, basic platform of the plateform system based on Nginx+Tomcat+SSH+Redis+.
The basic module includes function menu management, data dictionary management, institutional framework, user, role, permission pipe
Reason, role authorization, database table structure management, additions and deletions, which change, looks into Page Template, network security filter, log management, short message pipe
Manage module.
The database code generator, for generating database table, the XML mapping of Java entity class and hibernate
File, SpringBean, service logic interface, service logic realize class, and provide database table field and corresponding typing is arranged
Function;Each field can bind verification rule such as mailbox format check device, identity card format check device, cell-phone number format check
The jsp file for generating Input of Data list can be arranged in the page Core Generator of device, platform according to these.In addition data are being generated
While the table of library, also automatically generates service logic interface and realize class, and automatically create the configuration file of Spring.Programmer is not
Need manual configuration Spring configuration file.
The typing control is that text controls control, the date selects control, drop down list control, document uploading control, more
Row input frame or ckeditor richtextbox control.
Control layer generator generate struts2 control layer java program code, control layer identification code be responsible for receiving front-end interaction,
Call service logic layer identification code and forward end JSP page display data.
Page code generator changes according to JSP additions and deletions looks into page foundation forms, and the additions and deletions for generating specific functional modules, which change, looks into
Code, the page include list page, page, page can typing business datum, the inquiry of list page realizability condition, paging, number
It is imported and exported according to displaying, EXCEL.After JSP page generates, in function menu management module, corresponding URL link is configured to
Function menu, and starting Tomcat by menu authorization to specified role, after recompility is the function of platform can be used to generate.
In addition the application for the plateform system quickly developed the present invention also provides Java Web application.
The plateform system quickly developed of Java Web application generate under the runtime environment database table, Java entity class and
The application of Hibernate configuration file switches any database and does not have to replacement program code, it is only necessary to modify data basd link
It connects.
The present invention is further elaborated below:
(1) platform base frame: it is based on SSH bottom architecture, the general basic module of exploitation operation system includes function dish
Menu manager, institutional framework, user, role, rights management, role authorization, database table structure management, increases data dictionary management
It revises and looks into the modules such as Page Template, network security filter, log management, short message managing.
(2) Base Structure can be built under non-Eclipse environment database table, generate Java entity class and
The XML mapped file of hibernate.The present invention can generate database table, Java entity class and Hibernate under the runtime environment
Configuration file, while supporting mysql, tri- kinds of relational databases of SqlServer, Oracle switch any database and do not have to
Replace program code, it is only necessary to modify database link.
(3) corresponding typing control, such as text control control, date selection control are set for each database table field
Part, drop down list control, document uploading control, multiple-line entry box, ckeditor richtextbox control etc.;In addition each field can tie up
Fixed verification rule such as mailbox format check device, identity card format check device, cell-phone number format check device.The page of platform generates work
The jsp file for generating Input of Data list can be arranged in tool according to these.
(4) struts2 control layer java program code is generated, control layer identification code is responsible for receiving front-end interaction, calling business
Logic layer identification code and forward end JSP page display data.
(5) changed according to JSP additions and deletions and look into page foundation forms, the additions and deletions for generating specific functional modules, which change, looks into code, page packet
Include list page, page, page can typing business datum, the inquiry of list page realizability condition, paging, data show, EXCEL
It imports and exports.
(6) it automatically generates service logic interface and realizes class, and automatically create the configuration file of Spring.Programmer is not required to
Want manual configuration Spring configuration file.
The URL link that the additions and deletions of generation change the page looked into is configured to function menu, and authorizes permission, is opened after recompility
Dynamic Tomcat is the function of platform can be used to generate.
Technical effect of the invention is as follows:
(1) development efficiency is significantly promoted: under traditional development mode, programmer's one additions and deletions of exploitation, which change, looks into page need
The time for taking 2 days, the page for developing a tree structure generally requires 3 day time, and uses the code generator of this platform only
It needs to produce for 15 minutes input interface (including database field definition, creation database table, to generate additions and deletions and change and look into generation
Code, configuration feature menu and authorization).Additions and deletions, which change, looks into the page and needs to realize paged data inquiry, condition query, list typing, table
Individual character section binds various checkers and page control.
(2) it is developed without BUG: being changed by the additions and deletions that platform generates and look into the page, the BUG artificially not generated, and tradition exploitation
Mode in the process of development, can generate various BUG due to programmer's carelessness, to not the understanding etc. of frame, it is additional increase it is big
Measure the time of program debugging.
(3) architecture standard: using the code generator of platform, program code is that standard form generates, will not
Since the programming hobby difference of programmer causes program architecture multifarious, instant programmer leaving office will not cause too project
Big influence.
Detailed description of the invention
Fig. 1 is the block schematic illustration of plateform system of the present invention.
Specific embodiment
(1) table name and corresponding JAVA class name of a database are defined first in the table structure of system defines.Such as
Define personnel's Basic Information Table.
(2) the database table name of previous step, the database word under this table of typing then are selected in literary name section administration interface
Title, data type, length, decimal place, selection corresponding page typing control (text box, drop-down list, the date group of section
Part, file transmitting assembly, rich text component etc.), setting whether be querying condition field etc., after the complete preservation of typing, continue typing
The setting of other fields.
(3) after the completion of typing, in database table structure, this table is chosen, point builds table button, and at this moment system can be in database
Middle creation database table, and generate Java entity category code, the Database Mapping file of .hbm.xml suffix, Spring business and patrol
It collects interface and realizes class Java file, increases business logic components mapping in Spring Bean configuration file.
(4) this database table is selected in code generator, point generates code, generates struts2 control layer Java generation
Code, and increase in the configuration file of struts2 additions and deletions change look into the page jump setting.
(5) increase menu item, the title of defined function, corresponding list page redirected link in function menu setting.
(6) in system actor management, by the function distribution of generation to specified role.
(7) in user management, role is granted to specified user.
(8) the compiling autoexec compiled code for using platform, after restarting Tomcat, using being assigned with this function
Logging in system by user, found in the function menu of left side newly plus function menu, just openable generated by platform after click
Additions and deletions change and look into module, at this moment can typing business datum (such as typing of personnel's essential information) in list page.
Claims (9)
1. a kind of plateform system that Java Web application is quickly developed, it is characterised in that: the system comprises:
Platform base frame, for providing exploitation operation system general basic module;
Database code generator generates the corresponding JAVA reality of database table structure, generation database table for defining and generating
Body class method code generates database table field XML mapped file corresponding with JAVA entity class, and developer does not need
Hand-coding Java entity class on Eclipse developing instrument;
Control layer generator, for generating Struts2 control layer Java code;
Page code generator, for generating list page JSP program file and page JSP program file.
2. plateform system according to claim 1, it is characterised in that: the plateform system is based on Nginx+Tomcat+SSH
+Redis。
3. plateform system according to claim 2, it is characterised in that: the basic module includes function menu management, number
Change according to dictionary management, institutional framework, user, role, rights management, role authorization, database table structure management, additions and deletions and looks into the page
Template, network security filter, log management, short message managing module.
4. plateform system according to claim 1, it is characterised in that: the database code generator, for generating number
According to library table, the XML mapped file of Java entity class and hibernate, SpringBean, service logic interface, service logic are real
Existing class, and automatically create the configuration file of Spring.Programmer does not need manual configuration Spring configuration file.
5. plateform system according to claim 1, it is characterised in that: the database code generator is each database
Corresponding typing control is arranged in literary name section;Each field can bind verification rule such as mailbox format check device, identity card format school
Device, cell-phone number format check device are tested, the JSP for generating Input of Data list can be arranged in the page Core Generator of platform according to these
File.
6. plateform system according to claim 5, it is characterised in that: the typing control is that text controls control, date
Select control, drop down list control, document uploading control, multiple-line entry box or ckeditor richtextbox control.
7. plateform system according to claim 1, it is characterised in that: control layer generator generates struts2 control layer
Java program code, control layer identification code is responsible for receiving front-end interaction, calls service logic layer identification code and forward end JSP page is shown
Data.
8. plateform system according to claim 1, it is characterised in that: page code generator changes according to JSP additions and deletions looks into page
Face foundation forms, the additions and deletions for generating specific functional modules, which change, looks into code, and the page includes list page, page, and page can typing
Business datum, the inquiry of list page realizability condition, paging, data are shown, EXCEL is imported and exported.The additions and deletions of generation are changed and are looked into
The URL link of the page is configured to function menu, and authorizes permission, and starting Tomcat after recompility is that platform can be used to generate
Function.
Match 9. plateform system described in claim 1 generates database table, Java entity class and Hibernate under the runtime environment
The application of file is set, switches any database and does not have to replacement program code, it is only necessary to modify database link.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910244057.9A CN110069246A (en) | 2019-03-28 | 2019-03-28 | The plateform system and its application that a kind of Java Web application is quickly developed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910244057.9A CN110069246A (en) | 2019-03-28 | 2019-03-28 | The plateform system and its application that a kind of Java Web application is quickly developed |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110069246A true CN110069246A (en) | 2019-07-30 |
Family
ID=67366938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910244057.9A Pending CN110069246A (en) | 2019-03-28 | 2019-03-28 | The plateform system and its application that a kind of Java Web application is quickly developed |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110069246A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110673847A (en) * | 2019-09-24 | 2020-01-10 | 北京乐我无限科技有限责任公司 | Configuration page generation method and device, electronic equipment and readable storage medium |
CN110727438A (en) * | 2019-09-11 | 2020-01-24 | 宝付网络科技(上海)有限公司 | Automatic web system generation tool based on SpringBoot |
CN110851129A (en) * | 2019-11-13 | 2020-02-28 | 深圳市泰洲科技有限公司 | Automatic generation method of software system code of data management class |
CN110941423A (en) * | 2019-11-22 | 2020-03-31 | 深圳市航通智能技术有限公司 | Java-based method for quickly generating codes |
CN110989983A (en) * | 2019-11-28 | 2020-04-10 | 深圳航天智慧城市系统技术研究院有限公司 | Zero-coding application software rapid construction system |
CN111008011A (en) * | 2019-12-04 | 2020-04-14 | 全球能源互联网研究院有限公司 | System builder for power platform application development |
CN111026389A (en) * | 2019-11-08 | 2020-04-17 | 中建八局第二建设有限公司 | Automatic building method and system of WEB framework platform software based on JDBC database connection technology |
CN111078205A (en) * | 2019-11-22 | 2020-04-28 | 北京锐安科技有限公司 | Modular programming method and device, storage medium and electronic equipment |
CN111913695A (en) * | 2020-08-07 | 2020-11-10 | 国网信息通信产业集团有限公司 | Code conversion method, device and storage medium |
CN112506505A (en) * | 2020-12-16 | 2021-03-16 | 江苏龙虎网信息科技股份有限公司 | Method for producing program code by code template engine |
CN112784093A (en) * | 2020-11-24 | 2021-05-11 | 辽宁振兴银行股份有限公司 | Service management platform of artificial customer service system |
CN113157272A (en) * | 2021-05-14 | 2021-07-23 | 中国建设银行股份有限公司 | Method and device for automatically generating parameters |
CN114035782A (en) * | 2021-10-22 | 2022-02-11 | 交通运输部南海航海保障中心广州通信中心 | Automatic code generation method and system based on form design and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714078A (en) * | 2008-10-06 | 2010-05-26 | 广东金宇恒科技有限公司 | Code generation method and device |
CN102681852A (en) * | 2012-05-16 | 2012-09-19 | 河南辉煌科技股份有限公司 | Agile development method based on JavaEE |
CN103383645A (en) * | 2013-07-29 | 2013-11-06 | 北京邮电大学 | Code generation method and system |
CN103500087A (en) * | 2013-09-17 | 2014-01-08 | 福建亿榕信息技术有限公司 | Code generation method and device based on maven plug-in and freemarker template |
CN104793961A (en) * | 2015-05-10 | 2015-07-22 | 黄伟 | Quick JavaWeb development method and system using native Web codes |
CN105824619A (en) * | 2016-03-10 | 2016-08-03 | 四川交通职业技术学院 | Code generator integrated based on Spring MVC framework, Apache Shiro framework and MyBatis framework |
CN105956830A (en) * | 2016-05-11 | 2016-09-21 | 中煤电气有限公司 | J2EE framework based enterprise-level visualization application development platform |
CN106528150A (en) * | 2016-11-07 | 2017-03-22 | 北京快嘉科技有限公司 | Development method and development platform of J2EE projects |
CN106873969A (en) * | 2016-12-29 | 2017-06-20 | 广州凯耀资产管理有限公司 | A kind of development approach and development platform of J2EE projects |
CN107479883A (en) * | 2017-08-07 | 2017-12-15 | 海闻科技有限公司 | A kind of code generating method and code generator |
-
2019
- 2019-03-28 CN CN201910244057.9A patent/CN110069246A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101714078A (en) * | 2008-10-06 | 2010-05-26 | 广东金宇恒科技有限公司 | Code generation method and device |
CN102681852A (en) * | 2012-05-16 | 2012-09-19 | 河南辉煌科技股份有限公司 | Agile development method based on JavaEE |
CN103383645A (en) * | 2013-07-29 | 2013-11-06 | 北京邮电大学 | Code generation method and system |
CN103500087A (en) * | 2013-09-17 | 2014-01-08 | 福建亿榕信息技术有限公司 | Code generation method and device based on maven plug-in and freemarker template |
CN104793961A (en) * | 2015-05-10 | 2015-07-22 | 黄伟 | Quick JavaWeb development method and system using native Web codes |
CN105824619A (en) * | 2016-03-10 | 2016-08-03 | 四川交通职业技术学院 | Code generator integrated based on Spring MVC framework, Apache Shiro framework and MyBatis framework |
CN105956830A (en) * | 2016-05-11 | 2016-09-21 | 中煤电气有限公司 | J2EE framework based enterprise-level visualization application development platform |
CN106528150A (en) * | 2016-11-07 | 2017-03-22 | 北京快嘉科技有限公司 | Development method and development platform of J2EE projects |
CN106873969A (en) * | 2016-12-29 | 2017-06-20 | 广州凯耀资产管理有限公司 | A kind of development approach and development platform of J2EE projects |
CN107479883A (en) * | 2017-08-07 | 2017-12-15 | 海闻科技有限公司 | A kind of code generating method and code generator |
Non-Patent Citations (2)
Title |
---|
叶文来: ""一种轻量级Java EE快速开发框架"", 《计算机光盘软件与应用》 * |
林振荣等: ""基于SSH架构的代码构建自动化研究"", 《科技广场》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110727438A (en) * | 2019-09-11 | 2020-01-24 | 宝付网络科技(上海)有限公司 | Automatic web system generation tool based on SpringBoot |
CN110727438B (en) * | 2019-09-11 | 2023-11-14 | 宝付网络科技(上海)有限公司 | Web system automatic generation tool based on SpringBoot |
CN110673847B (en) * | 2019-09-24 | 2023-05-26 | 北京乐我无限科技有限责任公司 | Method and device for generating configuration page, electronic equipment and readable storage medium |
CN110673847A (en) * | 2019-09-24 | 2020-01-10 | 北京乐我无限科技有限责任公司 | Configuration page generation method and device, electronic equipment and readable storage medium |
CN111026389A (en) * | 2019-11-08 | 2020-04-17 | 中建八局第二建设有限公司 | Automatic building method and system of WEB framework platform software based on JDBC database connection technology |
CN110851129A (en) * | 2019-11-13 | 2020-02-28 | 深圳市泰洲科技有限公司 | Automatic generation method of software system code of data management class |
CN110941423A (en) * | 2019-11-22 | 2020-03-31 | 深圳市航通智能技术有限公司 | Java-based method for quickly generating codes |
CN111078205A (en) * | 2019-11-22 | 2020-04-28 | 北京锐安科技有限公司 | Modular programming method and device, storage medium and electronic equipment |
CN111078205B (en) * | 2019-11-22 | 2024-01-26 | 北京锐安科技有限公司 | Modularized programming method and device, storage medium and electronic equipment |
CN110989983A (en) * | 2019-11-28 | 2020-04-10 | 深圳航天智慧城市系统技术研究院有限公司 | Zero-coding application software rapid construction system |
CN111008011A (en) * | 2019-12-04 | 2020-04-14 | 全球能源互联网研究院有限公司 | System builder for power platform application development |
CN111913695A (en) * | 2020-08-07 | 2020-11-10 | 国网信息通信产业集团有限公司 | Code conversion method, device and storage medium |
CN112784093A (en) * | 2020-11-24 | 2021-05-11 | 辽宁振兴银行股份有限公司 | Service management platform of artificial customer service system |
CN112506505A (en) * | 2020-12-16 | 2021-03-16 | 江苏龙虎网信息科技股份有限公司 | Method for producing program code by code template engine |
CN113157272A (en) * | 2021-05-14 | 2021-07-23 | 中国建设银行股份有限公司 | Method and device for automatically generating parameters |
CN114035782A (en) * | 2021-10-22 | 2022-02-11 | 交通运输部南海航海保障中心广州通信中心 | Automatic code generation method and system based on form design and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110069246A (en) | The plateform system and its application that a kind of Java Web application is quickly developed | |
CN110825362B (en) | Low-code application software development system and method | |
CN110989983B (en) | Zero-coding application software rapid construction system | |
US10606573B2 (en) | System and method for computer language migration using a re-architecture tool for decomposing a legacy system and recomposing a modernized system | |
CN103383645B (en) | Code generating method and system | |
CN106445536B (en) | Automatic business design management system | |
CN103425778A (en) | Intelligent development platform for database application system | |
CN103455325A (en) | Business-model-based architecture platform | |
CN105487864A (en) | Method and device for automatically generating code | |
US20070094306A1 (en) | Method and model for enterprise system development and execution | |
CN106648587A (en) | Annotation-based Web application code generation method | |
US20050193361A1 (en) | System and method for presentation of wireless application data using repetitive UI layouts | |
CN101477462A (en) | Model-driven software development method used for dynamically changing system behavior | |
CN104517181B (en) | Enterprise content management system and method for nuclear power station | |
CN105204863B (en) | Unlawful data auditing system | |
US20100312592A1 (en) | Confirming enforcement of business rules specified in a data access tier of a multi-tier application | |
CN105930344B (en) | A kind of database application system quick development platform based on product development process | |
CN101499063A (en) | Tracing-based database schema evolution method and system | |
CN108228762B (en) | Method and system for configuring master database universal templates | |
CA2498541A1 (en) | System and method for presentation of wireless application data using repetitive ui layouts | |
US20080022258A1 (en) | Custom database system and method of building and operating the same | |
Song et al. | An e-Learning system based on EGL and Web 2.0 | |
US8631393B2 (en) | Custom database system and method of building and operating the same | |
CN117850752B (en) | Method and system for constructing low-code platform through domain model instantiation generator | |
Dittrich | Extraction of user behavior profiles for software modernization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190730 |
|
WD01 | Invention patent application deemed withdrawn after publication |