[Log] Log framework JUL and Log4j in Java
Existing log framework:
Log facade: JCL (Jakarta Common Logging), SLFLog implementation: JUL (Java Util Logging), log4j, logback, log4j2
1. JUL learning
1.1 JUL introduction
JUL: the full name is Jakarta Common Logging. It is a Java Native logging framework. It does not need to introduce a third-party class library. Compared with other logg ...
Added by alex_lana on Thu, 02 Dec 2021 02:30:13 +0200
Swagger overview and integration with SpringBoot. [mad God]
1. Introduction to swagger
Back end era:
The front end can only manage static pages; HTML = = > back end. Template engine JSP = = > the back end is the main force
Era of front and rear end separation:
At present, the more popular framework is Vue + SpringBoot
Front end - > front end control layer, view layerBackend - > backend ...
Added by akimm on Wed, 01 Dec 2021 13:19:52 +0200
SpringCloud scaffold | 2.SpringCloud integrates security. Implements the certification center
The project is not open source for the time being. If you need source code, please pay attention to the author's official account "AI code division", and reply to the "SpringCloud scaffold" in the official account.
Create certification authority module
New module
Right click the parent project and click in sequence
...
Added by benreisner on Wed, 01 Dec 2021 08:28:33 +0200
1_shiro introduction and Practice
1. Authentication and Authorization of Rights Management
Privilege management includes two parts: user identity authentication and authorization, referred to as authentication authorization. Users of resources requiring access control are first authenticated, after which they have access to the resource.
1.1 What is authentication
Identity ...
Added by dirkdetken on Wed, 01 Dec 2021 01:06:28 +0200
The SpringBoot multi module dependency Bean cannot be injected
1. About SpringBoot automatic injection and component scanning
When Spring Boot is used at ordinary times, annotations such as @ Configuration, @ Contoller, @ Service, @ Component, etc. are often used. The classes added with these annotations will be automatically managed by the Spring container when Spring Boot is started. The function ...
Added by chrisdee on Tue, 30 Nov 2021 18:47:58 +0200
Finally understand why Spring Boot is so popular with HikariCP. This picture is too thorough
preface
Now many companies are using HikariCP. HikariCP has also become the default connection pool of SpringBoot. With SpringBoot and microservices, HikariCP will be widely popularized.
Next, Chen will take you to analyze why HikariCP can be invited by Spring Boot from the perspective of source code. The article directory is as follows:
...
Added by mwilson2 on Mon, 29 Nov 2021 16:17:09 +0200
Simple mail sending [springboot]
Before learning java web, sending mail is relatively cumbersome. You can see the implementation of Java Web Java web mail sending In spring boot, the code is encapsulated. It only needs a few words of code to implement, from sender to sender
① First look at simple mail sending
1. Import mail dependency
<dependency>
& ...
Added by bokerfest on Mon, 29 Nov 2021 02:56:31 +0200
Redis integration in SpringBoot
1. Redis
As a non relational database, Redis is widely used in project development, especially as a data cache to ensure the rapid response of requested data and improve the user experience of the service.
Today, let's learn how to integrate Redis as a cache database in the Spring Boot project.
1.1 introducing Redis related dependencies
Spr ...
Added by mrodrigues on Sun, 28 Nov 2021 12:30:49 +0200
springboot resolution of Class path contains multiple SLF4J bindings. Warning
springboot resolution of Class path contains multiple SLF4J bindings. Warning
Once, after the springboot project was configured and started, the following warning was suddenly found:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/E:/mavenJarOnline/ch/qos/logback/logback-classic/1.1.9/logback-classic-1.1 ...
Added by xmitchx on Sun, 28 Nov 2021 08:50:25 +0200
[Spring Boot practical tutorial] Spring Boot + Vue + mobile terminal project development practical tutorial (XII. Implementation of notification and announcement function)
preface
We have basically built the basic things before. Now what is left is the addition, deletion, modification and query of some business logic and data. We can write it once rather than ten times. The tutorial has been out for a month. There are still fans chasing after writing projects. In the future, you will find that they are basic ...
Added by rockindano30 on Sat, 27 Nov 2021 01:14:01 +0200