Summary of Spring IOC knowledge points

@Configuration configure spring and start the spring container @Configuration is used to define the configuration class, which is labeled on the class, which is equivalent to < beans > in the xml configuration file of spring. Its function is to configure the spring container (application context) Example description: Configuration class @ ...

Posted by lyealain on Sun, 14 Jun 2020 07:17:49 +0200

The spring boot series integrates MyBatis framework

Add Dependency <!--Add to mysql and mybatis rely on--> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </dependency> <dependency> <groupId>org.mybatis.spring.boot</groupId> <a ...

Posted by Jragon on Sat, 13 Jun 2020 20:59:15 +0200

8: object storage OSS

Article catalog Brand management of shopping mall New brand management menu Optimize display status Alibaba cloud object storage OSS What is object storage OSS Related concepts Storage Class Storage space (Bucke ...

Posted by thomas2 on Sat, 13 Jun 2020 10:17:45 +0200

2, End of spring AOP (in supplement...)

1, Basic source code analysis 1. Find the entrance Spring's AOP is started by accessing the BeanPostProcessor postprocessor 2.BeanPostProcessor BeanPostProcessor is embodied in the doCreateBean of IOC source code analysis, the latter sentence of populateBean Object exposedObject = bean; try { po ...

Posted by ghostrider1 on Sat, 13 Jun 2020 07:56:32 +0200

Request Response\File UploadExceptionInterceptor for SpringMVC

SpringMVC Summary Spring MVC is an excellent Web framework based on MVC design concept provided by Spring for presentation layer, and it is one of the most mainstream MVC frameworks at present.Spring MVC makes POJO the controller for processing requests through a set of MVC annotations without imple ...

Posted by velanzia on Sat, 13 Jun 2020 04:12:07 +0200

Spring cloud: Advanced Application of Spring Cloud Gateway

Fusing Current limiting retry 1. Speed limit router Speed limit is one of the common means in high concurrency scenarios, which can effectively guarantee the overall stability of the service. Spring Cloud Gateway provides a Redis based flow limit scheme. So we need to add the corresponding dependency package spring boot starter data R ...

Posted by llangres on Fri, 12 Jun 2020 08:28:01 +0200

Server is implanted into Trojan horse, CPU soars 200%

Author: my name is Liu Banxianhttps://my.oschina.net/liughDevelop/blog/1786631 The online server uses a certain cloud, running the Tomcat, MySQL, MongoDB, ActiveMQ and other programs happily and perfectly. Suddenly a bad news came from the front: the website can't be accessed! I am in charge of this project. I immediately opened the server at ...

Posted by WeAnswer.IT on Fri, 12 Jun 2020 05:43:47 +0200

SpringBoot 2.0.x startup process

The entry class of SpringBoot @SpringBootApplication public class SpringbootApplication { public static void main(String[] args) { SpringApplication.run(SpringbootApplication.class, args); } } As can be seen from the entry class, in the Main method, run is executed; let's go to th ...

Posted by alexz on Fri, 12 Jun 2020 05:35:04 +0200

A Probe into Davids'Principles: Dubbo Service Exposure, Consumption and Elegant Downtime Principles

Article Directory Dubbo Service Exposure and Service Consumption Principles (Based on Dubbo 2.6.5) Configuration parsing principles Based on XML Configuration Parsing Principle schema module description Configuration parsing principles based on annotations @EnableDubbo Role of ServiceAnnotationBe ...

Posted by cyronuts on Fri, 12 Jun 2020 04:06:57 +0200

[elegant code writing system] springboot+mybatis+pagehelper+mybatisplus+druid shows you how to write code gracefully

[TOC] Springboot integrates a lot of plug-ins. Compared with spring, springboot is a little bit Auto configuration: for many spring applications, springboot provides many auto configurations Start dependency: tell springboot what you need, and it will introduce the required Library Command line interface: optional features of springboot Autu ...

Posted by jbruns on Thu, 11 Jun 2020 06:23:55 +0200