Learning Notes - springboot
Introduction to SpringBoot
Significance
spring integrates multiple frameworks and requires a lot of configuration files. To simplify configuration, the springboot framework has been introduced.
Advantage
Embedded web server
Auto starter dependencies, simplify dependency references - no version issues
Automatically configure spring - y ...
Posted by aliasneo86 on Sun, 09 Jan 2022 18:37:29 +0100
Upload, download and online preview of files based on SpringBoot (SpringBoot demo)
In the java field, SpringBoot is a very useful framework that can quickly build web projects. Here is a record of using SpringBoot to upload, download and preview files online.
1. Create database and database tables
This paper mainly uses the user and the files to which the user belongs, so we only need to design the user table and file tab ...
Posted by srdva59 on Sun, 09 Jan 2022 16:02:33 +0100
Spring Boot and monitoring management
1, Monitoring management
By introducing Spring Boot starter actor, we can use the application monitoring and management functions in the quasi production environment provided by Spring Boot. We can operate through HTTP, JMX and SSH protocols to automatically obtain audit, health and index information.
Steps:
1. Introduce spring boot starter act ...
Posted by codygoodman on Sat, 08 Jan 2022 20:26:47 +0100
Flowable Combat 2 - integrated Springboot
1. Create a Springboot project open IDEA and create a new Springboot project through file - > New - > Project... - > spring initializer in the next interface, fill in the project Name and select 8 for JDK next, select Springboot 2.6.2 click Finish generate an empty Springboot project, POM XML file content: ...
Posted by petrosa on Sat, 08 Jan 2022 13:10:49 +0100
Implementation of distributed locking based on SpringBoot and database table records
When different threads in the same process operate to share resources, we only need to lock the resources. For example, we can ensure the correctness of the operation by using the tools under JUC. Students unfamiliar with JUC can read the following articles:
On SynchronizedSynchronized optimizationFoundation stone of JUC - Unsafe class
Howev ...
Posted by LiamBailey on Sat, 08 Jan 2022 13:05:26 +0100
Analysis of SkyWalking Java Agent configuration initialization process
Based on skywalking Java agent version 8.8.0
Today, we want to analyze the content related to SkyWalking Java Agent configuration. Most of the frameworks we contact need some configuration files, such as application. Com in SpringBoot yml. The first thing SkyWalking Java Agent does in the premain method is to use the snifferconfinitializer i ...
Posted by highphilosopher on Sat, 08 Jan 2022 10:55:25 +0100
SpringBoot implements Excel import and export performance explosion table, which is elegant enough to use
2022-01-06 12:12
The following article comes from macrozheng, the author of dream de starry sky
macrozheng.
Focus on Java technology sharing, covering SpringBoot, SpringCloud, Docker, middleware and other practical technologies. The author is Github open source project mall (40K+Star).
Hello, I'm the second brother!
Operating Excel ...
Posted by newbreed65 on Sat, 08 Jan 2022 10:41:15 +0100
Introduction to Spring Boot integration Shiro
Introduction to Shiro
Apache Shiro is an open source lightweight Java security framework, which provides authentication, authorization, password management, session management and other functions. Compared with Spring Security, Shiro framework is more intuitive and easy to use, and can also provide robust security. In the traditional SSM frame ...
Posted by Lustre on Sat, 08 Jan 2022 10:07:26 +0100
Not familiar with POI, want to simply implement Excel operation? Just use EasyPoi
In our daily work, we often encounter the function of operating Excel, such as exporting an Excel report of user information or order information. You must have heard of POI, which can be realized. But the API implemented by POI is really troublesome. It needs to write line by line parsing code (similar to Xml parsing). Today, I recommend a ver ...
Posted by MaTT on Sat, 08 Jan 2022 09:20:40 +0100
springboot-madness-08-(MVC automatic configuration principle)
8. SpringBoot: MVC auto configuration principle
12.1. Official website reading
Before writing the project, we also need to know what configuration SpringBoot has made for our spring MVC, including how to extend and customize.
Only by making these clear can we use them more easily in the future. Way 1: source code analysis, way 2: official do ...
Posted by Diceman on Fri, 07 Jan 2022 21:44:02 +0100