Restful style of SpringBoot
What is RestFul style:
A software architecture style, design style, rather than standard, only provides a set of design principles and constraints. It is mainly used for client and server interaction software. The software designed based on this style can be more concise, more hierarchical, and easier to implement mechanisms s ...
Posted on Tue, 28 Jan 2020 11:09:44 -0500 by c0le
Create springboot stater of swagger
This article mainly explains how to create a springboot starter project of swagger. As long as the starter is introduced into other services and related comments are added, the interface documentation can be completed. It also explains how to introduce swagger into the spring cloud zuul gateway to provide a unified access to the front end. The ...
Posted on Tue, 28 Jan 2020 10:33:36 -0500 by RogerInHawaii
Spring Boot integrates Mybatis
1, Create project
Integrate STS with eclipse, create a new spring boot project, and check the following options
All the way to next, pom.xml file will help us to configure
But we also need to introduce the thmeleaf template engine, and we need to manually add it to the pom.xml file
<dependen ...
Posted on Tue, 28 Jan 2020 10:19:41 -0500 by StealthRider
The use of Spring transaction management
Spring provides two kinds of transaction management
Programmatic
Declarative (key): including xml mode and annotation mode (recommended)
Transfer based demo
dao level
Create a new package, com.chy.dao. Under the package, create a new interface, AccountDao and implementation class, AccountDaoImpl
public interface AccountDao {
//Q ...
Posted on Tue, 28 Jan 2020 10:09:55 -0500 by Rebel7284
[LGR-067] Luogu January competition II & csgroup 3 div.2
T1 lucky money
Background of topic
Wish you all a happy year of gengzi mouse! Best wishes!
May pneumonia be under control as soon as possible. Come on, China!
When the new year comes, little Z can always receive a lot of lucky money.
Little Z is a very krypton like player, so every now and then he will ...
Posted on Tue, 28 Jan 2020 06:27:49 -0500 by shivam0101
Spring boot privilege management system learning
Workflow of spring MVC
1. First, the user sends the request url: for example, http://localhost:8080/user/getAllUser. The front-end controller (dispatcher servlet) will catch the request.
2. Through the dispatcher servlet front-end controller, you can get the request address, and then through the url ...
Posted on Mon, 27 Jan 2020 10:48:27 -0500 by krishna.p
java code tests mongoDb's api and spring boot integrates mongoDb
1. Create maven project
2. Introduce dependency
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>3.9.1</version>
</dependency>
<dependenc ...
Posted on Mon, 27 Jan 2020 09:49:02 -0500 by trev
https://www.cnblogs.com/jimisun/p/7916615.html
Spring MVC framework structure
Processor mapper: user request path to Controller method mapping
Processor adapter: look for different processor adapters according to different areas of the development mode (annotation development / other development) of handler (controller class)
View parser: according to the view address file type ret ...
Posted on Mon, 27 Jan 2020 07:51:54 -0500 by chamade76
Creating the first project (IDEA) of spring MVC framework
Spring MVC framework is a powerful and flexible WEB framework provided by spring (struts 2 framework is also a WEB framework). With the help of annotations, spring MVC provides POJO (also known as enitity entity, model model model) development mode, which makes the development and testing of controller ...
Posted on Mon, 27 Jan 2020 06:59:41 -0500 by davieboy
Neural network learning record 40 -- Spring Festival is coming, do you use LSTM to write ancient poems?
Neural network learning record 40 -- Spring Festival is coming, do you use LSTM to write ancient poems?
Learn foreword
Overall realization idea
github download address
code implementation
1. Data processing
a. Read ancient poetry and convert it to id
b. Turn all the ancient poems read into 6to1 for ...
Posted on Mon, 27 Jan 2020 05:20:01 -0500 by Kower