Spring cloud basic tutorial - getting started with configuration center

My blog: Smile in Lanling Welcome to blog!    previous chapter Spring cloud basic tutorial (3) - Eureka advanced Among them, based on our basic understanding of Eureka, we have a deep understanding of some configurations used in Eureka high availability clusters and other production environments. This chapter begins to understand the ...

Posted by N-Bomb(Nerd) on Tue, 28 Jan 2020 05:56:34 -0800

SpringBoot+Mybatis+Thymeleaf-Build Blog site_2

Main Contents: This chapter records the learning process of Thymeleaf template engine technology, basic concepts, attributes, and expression grammar combined with actual code page functionality development. 1. Know the Thymeleaf Template Engine. 2. Springboot integrates Thymeleaf. 3. Thymeleaf template syntax and past and present generations ...

Posted by MarK (CZ) on Mon, 27 Jan 2020 09:05:05 -0800

Redis for spring boot

The following dependencies are introduced into the pom.xml of the project: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-redis</artifactId> </dependency> To configure: #redis host spring.redis.host=192.168.3.18 View the RedisAutoConfigu ...

Posted by antonyjohn on Mon, 27 Jan 2020 07:16:10 -0800

Common methods of spring jdbctemplate class

execute(String  sql)    Any sql statement can be executed, but the return value is void, so it is generally used for database creation, modification, deletion and data table record addition, deletion and modification.     int  update(String sql)  int  update(String sql, Object...args) Add, delete, args passes the actual parameter, and retur ...

Posted by zapa on Mon, 27 Jan 2020 02:59:52 -0800

Java Concurrent Programming Series 6: deep understanding of ThreadLocal

Introduction No matter the actual project or the interview, ThreadLocal is an inextricable topic. This paper mainly discusses the mystery of ThreadLocal from the source point of view. What is ThreadLocal? What does it do? ThreadLocal source code analysis summary 1, What is ThreadLocal? What does ...

Posted by crishna369 on Sun, 26 Jan 2020 04:52:16 -0800

SpringBoot LDAP user authentication operation

Opening word This guide will guide you through the creation of the Spring Security Application protected by LDAP module.   Apps you will create We will create a simple Web application protected by Spring Security's embedded Java LDAP server. We will load the LDAP server with a data file that contain ...

Posted by dgoosens on Sun, 26 Jan 2020 02:56:04 -0800

Distributed lock -- realizing distributed lock based on Database

In the last blog, I simply said what is distributed lock, and built a basic environment (very simple). This blog needs to start to experience distributed lock formally. Because it is developed on a single machine, there is no cluster, but the specific implementation of the code method is no different fr ...

Posted by soulrazer on Sun, 26 Jan 2020 02:06:59 -0800

Vue multi table case

Note: due to the large number of codes designed in this case, it is divided into two parts to upload. This article is the first part. 1. Preparation 1.1 database # Create category table , Primary key, primary table(1surface) CREATE TABLE t_category( cid INT PRIMARY KEY AUTO_INCREMENT, cname VARC ...

Posted by AL-Kateb on Sat, 25 Jan 2020 23:22:42 -0800

Spring Boot Integrates MyBatis to Connect to Oracle Database

1. Spring Boot project adds MyBatis dependencies and Oracle drivers: <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.2</version> </dependency> <dependency> <groupId>com.oracle</groupId> <a ...

Posted by mtimdog on Sat, 25 Jan 2020 08:22:24 -0800

Spring Road (12) -- assembling bean s in annotation configuration

background The last one talked about how to assemble bean in the xml configuration. In fact, the principle of bean in the annotation configuration is exactly the same as that in xml, and the effect is the same, but it adopts different ways. Therefore, we do not change the examples in this article, but ...

Posted by esport on Fri, 24 Jan 2020 02:18:11 -0800