MVC framework based on Spring and MyBatis

A framework and processor technology, used in program control devices, creating/generating source code, software design, etc., can solve the problem of high cost of WEB framework overall design, and achieve unified management and optimization, decoupling, and rich online information. Effect

Inactive Publication Date: 2016-08-10
INSPUR QILU SOFTWARE IND
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical task of the present invention is to provide an MVC framework based on Spring and MyBatis, to solve the problem of lack of overall planning and high cost in many WEB frameworks, to establish a development platform based on mature ideas such as MVC, to simplify the development process as much as possible, and to reduce business-related configuration files

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
  • MVC framework based on Spring and MyBatis
  • MVC framework based on Spring and MyBatis
  • MVC framework based on Spring and MyBatis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with accompanying drawing.

[0027] An MVC framework based on Spring and MyBatis, the front controller is DispatcherServlet; the application controller is split into a handler mapper (Handler Mapping) and a view resolver (View Resolver), and the handler mapper (Handler Mapping) performs processor management , the View Resolver (View Resolver) performs view management; the page controller / action / processor is the implementation of the Controller interface (only contains the ModelAndView handleRequest(request,response) method) (it can also be any POJO class):

[0028] Use Spring-DispatcherServlet to intercept matching requests;

[0029] Considering the friendliness of the URL, based on the REST style, configure .htm as a service mapping through DispatcherServlet; for example: http: / / 127.0.0.1:7023 / employee / init.htm;

[0030] Injection of bean objects and declarative transaction processing in the form of ...

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 MVC framework based on Spring and MyBatis, which belongs to the technical field of computer software. The front-end controller is DispatcherServlet; The mapper (Handler Mapping) performs processor management, and the view resolver (View Resolver) performs view management; the page controller / action / processor is the implementation of the Controller interface. The invention establishes a development platform based on mature ideas such as MVC, and develops a more concise Web layer.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to an MVC framework based on Spring and MyBatis. Background technique [0002] There are many kinds of WEB frameworks in each company. Through the investigation and analysis of the company's WEB development frameworks, the following conclusions are drawn: Compared with the company's R&D team and product lines, there are more Web development frameworks and versions; multi-version development frameworks, not It is conducive to the unified improvement and reuse of common components of the development framework; multi-version development frameworks, cross-product lines, and cross-project developer transfers increase the learning cost of the development framework; common components under each development framework are packaged project-oriented , more or less have some advantages and disadvantages, lack of overall design and horizontal connection between components; different de...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F8/24G06F8/36
Inventor 宫志方程林杨培强
Owner INSPUR QILU SOFTWARE IND
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