Category: 【rear end】

Three keys to start the springboot project 0

Three keys to start the springboot project

Hits: 0Article directory 1. Introduce dependencies 2. Add a guide class 3. Write HelloController Hello everyone! We have created many projects of the springboot framework, large and small. After we create a Maven project,...

SpringMVC – modify port 0

SpringMVC – modify port

Hits: 0modify port 1. Add a global configuration file: application.properties 2. Code 3. Test after restarting the service: Although the default configuration of springboot can already use [SpringMVC] , we sometimes need to customize...

property injection in spring 0

property injection in spring

Hits: 0Hello everyone! 1. Common annotations for java configuration Second, we will use the java configuration to try to implement the connection pool configuration 1. Introduce dependencies 2. Add jdbc.properties 3. Configure the data...

Hystrix-service fuse 0

Hystrix-service fuse

Hits: 01. Fusing principle Fuse, also called circuit breaker, its English word is: Circuit Breaker fuse state machine 3 states: Closed: Closed state, all requests are accessed normally. Open: Open state, all requests will...

Getting Started with SpringCloud-Feign 0

Getting Started with SpringCloud-Feign

Hits: 0Article directory introduction Introduction First, the entry-level implementation 1. Import dependencies 2. Turn on Feign function 3. Feign’s client 2. Integration 1. Load Balancing 2.Hystrix support 3. Request compression 4. Log level introduction...

Four property injection methods of springboot 0

Four property injection methods of springboot

Hits: 0Article directory 1. Documents 1. application.properties file 2. JdbcProperties file 3. JdbcConfiguration file 2. Four ways to inject JdbcProperties in the JdbcConfiguration class 1. @Autowired injection (common way) 2. Constructor injection 3. Parameter...

java variable parameter T… 0

java variable parameter T…

Hits: 0T…(T is a certain type,…variable, all T…is the meaning of a typed variable parameter) The following coding is similar to the idea of ​​the factory pattern. Common [array] operations String[] values ​​= new...