Principle analysis of Tomcat embedded in Spring Boot

preface Why doesn't Spring Boot need to install additional Tomcat? Because Spring Boot has a built-in Web server Tomcat, it does not need to be configured separately. This article mainly analyzes the implementation principle of Tomcat embedded in Spring Boot from the perspective of source code, and discusses when Tomcat is created, started a ...

Added by TashaAT on Mon, 10 Jan 2022 03:10:26 +0200

Replacing hashmap perfectly, SpringBoot integrates Redis cache DB data

1, Baidu Encyclopedia Redis is a key value storage system. Similar to memcached, it supports relatively more stored value types, including string (string), list (linked list), set (set), zset(sorted set -- ordered set) and hash (hash type). These data types support push/pop, add/remove, intersection, union, difference and richer operations ...

Added by akillez on Mon, 10 Jan 2022 01:25:59 +0200

Spring boot integrates JDBC notes

Introduction to spring data For the data access layer, whether SQL (relational database) or NoSQL (non relational database), the bottom layer of Spring Boot adopts the way of Spring Data for unified processing. The bottom layer of Spring Boot uses Spring Data to uniformly process various databases. Spring Data is also a well-known project in ...

Added by rgermain on Sun, 09 Jan 2022 12:43:05 +0200

Spring Boot annotation @ Async and custom thread pool

preface   when learning thread pool, we all know that the core parameters such as the number of core threads, the maximum number of threads and the thread factory of the thread pool are very important, so we should remember them by heart. However, some siege lions who have worked for five or six years may not be able to say how to initiali ...

Added by ifty on Sun, 09 Jan 2022 12:13:00 +0200

Play with Spring - customize Spring Starter

1 what is Spring Starter From the official website Starters are a set of convenient dependency descriptors that you can include in your application. You get a one-stop shop for all the Spring and related technologies that you need without having to hunt through sample code and copy-paste loads of dependency descriptors. For example, if y ...

Added by edgev on Sun, 09 Jan 2022 08:57:18 +0200

SpringBoot integrates Dameng database

Installation configuration Software installation Download address: https://www.dameng.com/view_61.html This paper takes x86 win64 DM8 as an example After installation, open the DM Database Configuration Assistant to create the database, set the character set utf8, and remove the case sensitivity of characters To create a table space an ...

Added by radalin on Sat, 08 Jan 2022 11:51:09 +0200

springboot-crazy-06-(Web development static resource processing)

6. SpringBoot: static resource handling for Web development Research on Web Development 10.1 introduction OK, students, next, let's start to learn about SpringBoot and Web development. From this chapter, it will belong to our actual combat part; In fact, the things of SpringBoot are very simple to use, because the biggest feature of SpringB ...

Added by jesseledwards on Fri, 07 Jan 2022 22:35:49 +0200

Build and integrate SpringBoot in multi environment Apollo configuration center

Apollo multi environment distributed deployment For Apollo distributed deployment, three servers are used this time. One portal service, one fat environment (adminservice and configservice), and one uat environment (adminservice and configservice). After the environment is built, integrate SpringBoot to realize multi environment switching. ...

Added by karthikeyan_coder on Fri, 07 Jan 2022 18:38:10 +0200

Learn to use spring security in spring boot

catalogue Pre knowledge Custom landing page Let's start with custom jsp pages Customize the use vue page Connect to database query user name and password Connect to database and query data to configure My information is relatively backward. I only know one thing today. The following is from the official website. Whether to study or not ...

Added by TheSaint97 on Fri, 07 Jan 2022 18:09:26 +0200

Use of the registry Eureka

1, Introduction to spring cloud euraka Spring Cloud Euraka is a component in the Spring Cloud collection. It is an integration of Euraka for service registration and discovery. Eureka is an open source framework in Netflix. Like Zookeeper and consult, it is used for service registration management. Similarly, Spring Cloud also integrates Zooke ...

Added by dbemowsk on Thu, 06 Jan 2022 13:25:15 +0200