Loading of spring IOC beans

preface This series is based on Spring 5.2.2.BUILD-SNAPSHOT. Because the whole system of Spring is too large, only the source code of key parts will be parsed. This article mainly introduces how the Spring IoC container loads bean s. text Let's take a look first Loading and registration of Spring IoC BeanDefinition To obtain the bean insta ...

Posted by nels on Sat, 27 Jun 2020 07:22:57 +0200

[SpringCloud Learning Notes 6] Getting Started and Using Config

Getting started with Config and using it 1. Introduction and Introduction to Config SpringCloud Config provides centralized external configuration support for microservices in the microservice architecture, and Configuration Server provides a centralized external configuration for all environments o ...

Posted by Cobby on Sat, 27 Jun 2020 02:42:32 +0200

Spring Boot source code - auto assembly - AutoConfigurationImportSelector

catalog 1, process 1,getAutoConfigurationMetadata 2,getAutoConfigurationEntry 1) , get the exclude and excludeName property values of the EnableAutoConfiguration annotation 2) , get spring.factories Configuration value of EnableAutoConfiguration in 3) , removedduplicates 4) , get the classes t ...

Posted by Quilmes on Fri, 26 Jun 2020 10:19:45 +0200

Distributed transaction solution -- Seata -- Implementation

Distributed transaction solution -- Seata -- Implementation Seata Background Seata version selection Seata practice 1. Problem description 2. Problem location 3. Solutions Seata Seata is an open source distributed transaction solution, which is committed to providing high-performance and easy-to- ...

Posted by matstuff on Fri, 26 Jun 2020 10:14:12 +0200

Java Spring framework: the implementation of SpringIOC-5000 words

Implementation of SpringIOC 1.IOC interpretation 2. Code implementation 3. Realize IOC with parameterless constructor 4. use the constructor with parameters to realize IOC 5. Use factory mode to realize IOC Chain of responsibility: When we use mvc for development, data is transferred between diffe ...

Posted by jase01 on Fri, 26 Jun 2020 05:18:14 +0200

Spring --- the fourth day of learning (transaction control of JDBC template + spring)

JdbcTemplate JdbcTemplate is an object provided in the spring framework, which functions as QueryRunning and is a simple encapsulation of the original Jdbc API object. The spring framework provides many template classes that are facing different database types. Operational relationship data: JdbcTempl ...

Posted by ramus on Fri, 26 Jun 2020 05:12:02 +0200

Source code analysis of working principle of nacos Distributed Configuration Center

nacos Distributed Configuration Center Personal Alibaba nacos Renovation Project: alibaba_nacos 1. Service Startup Configuration Loading Source: NacosPropertySourceLocator Workflow: Nacos customizes the PropertySourceLocator to get data from the configuration center at service startup, then add and re-run the local environment to load the confi ...

Posted by CanMan2004 on Thu, 25 Jun 2020 20:02:40 +0200

The simplest Spring Security tutorial in history: successful login to SuccessHandler advanced usage

  So that is what it is. We are lucky to know how to configure the page that is successfully logon after the login and how to specify the system to jump to an address. Yes, it's so simple. The Spring Security framework helps us do most of the work, but we can use it with a little configuration. How ...

Posted by JUMC_Webmaster on Thu, 25 Jun 2020 13:09:20 +0200

Spring Boot: integrate basic operations of JPA and MyBatis

PostgreSQL is an object relational database management system (ORDBMS) of free software with complete characteristics. It is an object relational database management system based on POSTGRES, version 4.2 developed by the computer department of the University of California. Many of the leading concepts ...

Posted by buducom on Thu, 25 Jun 2020 10:26:30 +0200

Using lancher2 + kubernetes + skywalking to deploy the spring cloud project (III [jenkins audit and release])

List of articles in this series (under planning) Basic k8s yaml script Publishing helm+shell script optimizes a large number of redundant configuration releases Streamline deployment of jenkins user audit service mesh(istio) service grid Publishing preface Previous Using lancher2 + kubernetes + skyw ...

Posted by rxero on Wed, 24 Jun 2020 04:20:46 +0200