"Cross domain" journey of back-end engineers

Cross domain is both familiar and unfamiliar to back-end engineers.In the past two months, I participated in the incubation of an educational product as an architect and had an unforgettable cross domain trip.Writing this article, I want to share my experience and thinking in cross domain knowledge, hoping to inspire you. 1. Cross domainThe pro ...

Posted by moret on Tue, 04 Jan 2022 22:39:22 +0100

Spring Security: user service UserDetailsService source code analysis

In the previous blog, the blogger introduced the UserDetails interface of Spring Security and its implementation. Spring Security uses the UserDetails instance (the instance of the implementation class) to represent the user. When the client authenticates (provide the user name and password), Spring Security will obtain the corresponding UserDe ...

Posted by Matth_S on Tue, 04 Jan 2022 21:27:20 +0100

Nacos source code analysis - configuration center

catalogue Initialize the load configuration process Configure dynamic refresh process Client sends long polling request The server handles long polling requests summary Initialize the load configuration process First, analyze the entry from the startup method of SpringBoot org.springframework.boot.SpringApplication#run(java.lang.Class& ...

Posted by NargsBrood on Tue, 04 Jan 2022 19:26:02 +0100

"Spring integration component" MongoDB

Introduction to MongoDB MongoDB is a database based on distributed file storage. Written in C + +. It aims to provide scalable high-performance data storage solutions for WEB applications. MongoDB is a product between relational database and non relational database. It is the most functional and relational database among non relational database ...

Posted by swallace on Tue, 04 Jan 2022 15:11:46 +0100

SpringBoot actual development background management - architecture description and development

SpringBoot actual development background management - architecture description and development 1. Architecture mode Monomer architecture technical structure springboot + mybatisplus + mysql Front end technology: jquery / layui Font Icon Library: iconfont 2. What are the architectural patterns of background development? Pure enterprise ...

Posted by Dlex on Tue, 04 Jan 2022 14:51:10 +0100

Spring learning -- initialization process of IOC container

IOC container initialization overview   IOC container initialization is started by the refresh() method, which marks the official start of IOC container. Spring separates the IOC container startup process and uses different modules to complete it, such as ResourceLoader, BeanDefinition and other modules. The IOC container startup mainly inc ...

Posted by SyndicatE on Tue, 04 Jan 2022 04:25:28 +0100

Source code analysis of AOP underlying principle of Spring

1, cglib and JDK dynamic proxy Explanation of proxy mode: provide a proxy for other objects to control access to this object, enhance a method in a class, and extend the program. For example, there is now a UserService class: public class UserService { public void test() { System.out.println("test..."); } } At this point, we cre ...

Posted by etoast on Tue, 04 Jan 2022 03:58:54 +0100

Custom starter in SpringBoot project

In the springboot project, we often see a lot of starter dependencies. These starters integrate relevant jar packages, especially the control of relevant jar versions, so as to avoid version conflicts. A starter can load the relevant dependencies, which provides great convenience for us to develop web projects. SpringBoot starter mechanism Th ...

Posted by Webxplosion on Tue, 04 Jan 2022 03:54:44 +0100

Xml version 1 with component scanning enabled

Xml version 1 with component scanning enabled There was one for Java before To enable component scanning, Now let's introduce the xml configuration version. Most of the codes are the same. There is less record player Config file and more audio system xml file, the ApplicationContext type used can be changed once. I record interface code pa ...

Posted by nmreddy on Tue, 04 Jan 2022 03:36:23 +0100

The life cycle of Bean in Spring

The life cycle of beans in Spring 1. What is the life cycle of beans in Spring Spring's biggest feature is Bean oriented (BOP) programming. The Bean managed by spring is a POJO, that is, a simple JavaBean (Bean that does not need to implement any specification). Spring provides many methods to enhance the functions of the managed Bean objects ...

Posted by Bea on Tue, 04 Jan 2022 03:09:13 +0100