Spring - AOP - Basic Use

Series Length 1. Spring - IOC - Register Components 2. spring - IOC - Dependent Injection 3. Spring - IOC - Component Scan Rules 4. Spring - IOC - Component Scope, Lazy Loading, Conditional Judgment 5. Spring - IOC - Lifecycle of Components 6. Spring - AOP - Basic Use Preface This article will sor ...

Added by litebearer on Sun, 26 Jan 2020 04:57:06 +0200

Introduction to Spring Boot Starters

Article Directory Web Start Test Starter Data JPA Starter Mail Starter conclusion Dependencies are a very important aspect of any complex project that requires attention and information. Important as they are, we don't need to spend too much time on them, because dependencies are just a framework. ...

Added by haironfire on Thu, 23 Jan 2020 03:04:14 +0200

[design mode self study room] detailed explanation of agent mode

Preface As the name implies, this series of articles take you to review the common design patterns. The main contents are as follows: The introduction of this mode includes: Introduction, intention (in vernacular) Class diagram, sequence diagram (theoretical specification) Code example of the pat ...

Added by phpORcaffine on Wed, 22 Jan 2020 12:37:12 +0200

[JavaScript] judge whether a string is a numeric value / judge whether it contains letters (with common regular expressions)

JavaScript usage example If it is a value (number), return its value; if it is not a number, return the empty string ''. It can avoid fetching null values from the database, which results in error reporting in the front-end display. The autoConvertNum() function is defined as follows: // If it is a va ...

Added by DapperDanMan on Tue, 21 Jan 2020 19:21:08 +0200

springboot multi data source -- mybatis

Multi database is to use multiple databases in different database instances, or different databases in the same database instance. Start to implement JDBC template multiple data sources: github: https://github.com/fengqing11/datasources-mybatis Complete project structure: Create database: There are tw ...

Added by My220x on Sun, 19 Jan 2020 10:47:51 +0200

A preliminary study of springboot -- the starting process

Spring boot has been introduced earlier. This article begins with what spring boot does in the startup process and how to complete a web project with so little code. For others, we can ignore it first. Let's take a look at the main method of springboot @SpringBootApplication public class DemoApplication { public static void main(String[] arg ...

Added by Penelope on Sun, 19 Jan 2020 10:01:09 +0200

SpringSecurity Initialization Process Source

This article mainly explains the source part of the SpringSecurity initialization process, including how the core springSecurityFilterChain was created and where personalized configurations can be extended. The SpringSecurity source code is a real headache for all kinds of Builder Configurations! _1. Brief introduction _The core functions of Sp ...

Added by ryansmith44 on Sun, 19 Jan 2020 06:46:31 +0200

Spring cloud Alibaba II. Spring boot configuration uses nacos as the registry, and calls and tests with resttemplate and RPC tools

Premise of use Building nacos environment: https://blog.csdn.net/qq_41463655/article/details/104002968 RPC tool RestTemplate: https://blog.csdn.net/qq_41463655/article/details/103431953 The simulation environment of this paper is as follows: 1, Create the spring boot project Alibaba server (version ...

Added by FortMyersDrew on Sat, 18 Jan 2020 18:03:30 +0200

Detailed java static and dynamic proxies

Catalog 1. Static Agent 2. Dynamic Agent (1) JDK dynamic proxy (2) Cglib Dynamic Agent (3) Differences between jdk dynamic proxy and cglib dynamic proxy Proxy is a common design pattern for providing a proxy for other objects to control access to an object.The proxy class is responsible for pr ...

Added by xardas on Sat, 18 Jan 2020 03:49:06 +0200

Spring boot integrates JWT to implement token verification

Original text: https://www.jianshu.com/p/e88d3f8151db JWT official website: https://jwt.io/github address of JWT(Java version): https://github.com/jwtk/jjwt What is JWT? Json web token (JWT) is a JSON based open standard (RFC 7519) which is implemented to deliver statements between network application environments. It defines a concise, self- ...

Added by VirusDoctor on Fri, 17 Jan 2020 09:44:12 +0200