Spring Boot declarative transaction management example

Video Explanation address: (reserved: to be uploaded...)Let's start: What is a database transaction? A database transaction is a single logical unit of work that accesses and potentially modifies the contents of a database.Let's check the mysql database: Open two separate windows for mysql database In a mysql window, create a database ...

Posted on Wed, 24 Jun 2020 01:17:33 -0400 by CaptainChainsaw

Learning from Spring Security practice: creating a simple Spring Security Project

Reference course: Mr. Chen Muxin's "Spring Security practice" Create spring boot project There are many ways to create a Spring Boot project through the Intellij IDEA. The easiest way is to use the Spring InitializrTools.Spring Initializr allows us to select some common project dependencies in advance. Here, we choose Security as the ...

Posted on Tue, 23 Jun 2020 22:44:11 -0400 by [ArcanE]

Design Mode - MVC Mode

Above (Design Mode - Visitor Mode): https://blog.csdn.net/qq_16498553/article/details/106912484 Catalog background What is the MVC mode mode? Roles: Advantage: Disadvantages: What can MVC mode do? MVC Pattern Class Diagram Implementation Code Source download:https://gitee.com/hong99/design ...

Posted on Tue, 23 Jun 2020 12:11:02 -0400 by richardandrewle

SSM learning notes - (spring MVC + Spring + mybatis) configuration (eclipse)

I've heard the teacher said that the whole family bucket of spring framework has never known what it is. I read a lot with a sense of mystery and didn't really understand it. I simply learned the configuration of SSM framework by taking the opportunity of practical training. Spring, as a novice of Xi ...

Posted on Tue, 23 Jun 2020 04:20:34 -0400 by galewis

AOP development specification and steps of Spring framework based on AspectJ

Relationship between AOP and dynamic agent: AOP terminology: Horizontal focus: Functions to be added to the business code (called crosscutting concerns in the target object and notifications in the aspect class) Section class: Classes that encapsulate enhanced methods (horizontal concerns) Notice: ...

Posted on Tue, 23 Jun 2020 01:11:30 -0400 by trp

Application context context context of Spring key interface

catalog 1.ServletContextListener interface 2.ApplicationContextInitializer interface 2.1 integration mode of springboot 2.2 integration mode of spring MVC 3.ApplicationListener interface and supporting classes 3.1 ApplicationListener interface and supporting class ApplicationEvent 3.2 Applicat ...

Posted on Mon, 22 Jun 2020 03:30:06 -0400 by d_mc_a

You even go to the server to search for logs. Isn't it delicious to set up a log collection system!

abstract ELK log collection system advanced use, this article mainly explains how to build a real and available online environment log collection system. With it, you can say goodbye to go to the server to search for logs! ELK environment installation ELK refers to the log collection system built ...

Posted on Mon, 22 Jun 2020 02:32:07 -0400 by ChrisF79

JSON class library Jackson elegantly serializes Java enumeration classes

1. Preface In Java development, in order to avoid too many magic values, we use enumeration classes to encapsulate some static state codes. However, it's not so smooth to return the meaning of these enumerations to the front end correctly and comprehensively. We usually use the Jackson class library to serialize objects into JSON. Today, we'll ...

Posted on Mon, 22 Jun 2020 00:27:23 -0400 by suspect

Introduction, installation and use of RabbitMQ

RabbitMQ RabbitMQ 1.MQ introduction 2. Use scenario 2.1. Peak shaving The origin of peak shaving 2.2 log processing 2.3 Application decoupling 2.4 asynchronous processing 3. Introduction to rabbitmq 4. AMQP agreement 5. Single node installation in Windows Environment Download the installation pac ...

Posted on Sun, 21 Jun 2020 06:42:52 -0400 by yes3no2

Spring cloud learning notes 12 service gateway spring cloud zuul

demand In the previous section, we built several service modules, User, Order and Pay, which communicate with each other directly to access objects. In the production environment, we generally require users to log in and authorize before performing related operations. If each microservice does a set o ...

Posted on Sun, 21 Jun 2020 05:36:11 -0400 by jdorsch