Construction of SSM framework
Tool inner layer
Util: Tools
The Util layer is used to store tool classes. Small functions with high independence or code segments with high repeatability can be extracted into the Util layer
Data layer
pojo: normal java object
po: persistence layer, java objects mapped to tables in the database
vo: object of data transfer between busines ...
Added by gbrown on Fri, 21 Jan 2022 00:46:06 +0200
Idea operation Maven advanced chapter:
Idea operation Maven advanced chapter:After the above study, we have roughly understood: Maven BasicsWhat is Maven - why use it - Foundation Construction:Maven can be said to be an indispensable tool for Java development:ok!, Next, learn more about Maven's advanced articles!Modular construction engineering [application]Maven inheritance [depen ...
Added by rawb on Wed, 19 Jan 2022 17:51:06 +0200
Starting from "0", self-study the spring framework -- finally, no new object is needed
catalogue
1, spring environment modification
2, Bean object underlying implementation (rough)
1, spring environment modification
1. Modify the version number and delete redundant services
2. Add dependency
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
...
Added by Scutterman on Wed, 19 Jan 2022 04:23:01 +0200
All JAR packages of JAVA project are packaged, run and deployed as a one-stop solution
1, Scene description
The modular management of parent-child project can solve most scenarios and problems of module version and dependency between modules Using spring boot plug-in for project packaging and deployment can solve 90% of the problems of continuous project integration and deployment In the process of project development, wi ...
Added by jmcneese on Tue, 18 Jan 2022 11:47:18 +0200
Consolidate warehouses and keep submission history
Recently, the warehouse has been rectified, and it is planned to use the warehouse management mode of mono repo to manage the company code.
Therefore, it is necessary to merge the original scattered warehouses, but the development requires that the submission history of the original warehouse be retained.
Scenario:
I have two warehouses, rep ...
Added by shooff2332 on Tue, 18 Jan 2022 10:15:54 +0200
Increase maven build time
background
The company has recently put forward requirements for line coverage of code. Although it is said that more ut can improve the code quality to a certain extent, due to the large amount of code, the package delivery speed of maven build has been greatly affected, once increased to 40min. (our company must build before merging the ...
Added by csckid on Tue, 18 Jan 2022 04:53:13 +0200
Mybatis--Universal Map--mappers--Cache-LOG4J--MyBatis Paging Plug-in--Developed with Annotations---#{} Difference from ${}--Lombok--Many-to-Many Processing Dynamic SQL
MyBatis
Environmental Science:
JDK1.8Mysql 5.7maven 3.6.1IDEA
Review:
JDBCMysqlJava FoundationMavenJunit
SSM framework: Configuration file. Best way: see the official website documentation;
mybatis - MyBatis 3 | Getting Started
1. Introduction
1.1, What is Mybatis
MyBatis is an excellent persistence framework. It supports customizing S ...
Added by JRS on Mon, 17 Jan 2022 10:25:04 +0200
2021-07-18 mybatis puls quick start
MyBatisPlus
MyBatisPlus overview
brief introduction
MyBatis is meant to simplify JDBC operations! Official website: https://mp.baomidou.com/
MyBatis Plus simplifies MyBatis!
characteristic
No invasion: it is only enhanced without change, and its introduction will not affect the existing project, which is as smooth as silk L ...
Added by gplaurin on Sun, 16 Jan 2022 12:09:33 +0200
@RequestBody and @ RequestParam, data binding and fastjson
Previously on: Recently, when I was working on a project, the release suddenly changed the requirements. The original content type was application/json when the front-end submitted data, but now it is application/x-www-form-urlencoded.
I was overwhelmed by this wave of operation. I'm a little white. We haven't corrected it. What are these thin ...
Added by njwan on Sun, 16 Jan 2022 10:43:08 +0200
Mybatis IV: mybatis configuration summary
https://mybatis.org/mybatis-3/zh/index.html
1, Mybatis official website definition
Mybatis configuration
1. Type aliases
Type alias sets an abbreviated name for a Java type. It is only used for XML configuration and is intended to reduce redundant fully qualified class name writing. For example:
<typeAliases>
<typeAlias alias ...
Added by mmorton on Sun, 16 Jan 2022 07:42:25 +0200