Factory model of design pattern

Factory model of design pattern Label (Space Separation): Design Mode Factory Mode The Impression of Design Patterns Application of Design Patterns Generation of Factory Design Patterns Classification of Factory Design Patterns The Concept of Design Patterns > Everything has evolved and everything has developed according to this law. For ...

Added by gibbo101 on Wed, 10 Jul 2019 23:45:00 +0300

Spring transaction isolation level and propagation mechanism, spring+mybatis+atomikos for distributed transaction management

This article is reproduced in [ http://blog.csdn.net/liaohaojian/article/details/68488150] 1. The definition of a transaction: A transaction is a collection of multiple units of operation that are either not successful or successful.It must follow four principles (ACID). Atomicity: A transaction is the smallest unit of work that cannot be sep ...

Added by chrbar on Wed, 10 Jul 2019 19:29:01 +0300

How to Use Spring IO and Spring Boot

Spring IO Platform Spring IO Platform solves the problem of version compatibility between Spring Framework and the introduction of third-party libraries, which configures most commonly used java class libraries. To use Spring IO Platform, simply add: <dependencyManagement> <dependencies> <dependenc ...

Added by google_man2000 on Wed, 10 Jul 2019 01:15:56 +0300

Application of redis, conference assistant for WeChat Enterprise Number

Now that I've built a general project structure, I'm starting to write some necessary tool classes. Today I'll start with the redis application that I use.Redis has many applications in some projects, so I'm going to talk about spring's String RedisTemplate today.The function redis uses in this project is to cache some information about WeChat ...

Added by Poolie on Tue, 09 Jul 2019 20:58:42 +0300

Simple Integrated Development of MVC & Security in Spring 3 (I)

Spring MVC module is a concise Web application framework, which implements MVC mode to handle HTTP requests and responses. Compared with Struts series, Spring MVC's MVC is more obvious. It completely separates the definition of controller and view, and they do not need to be in a namespace. It has all the advantages of Spring, and bean s are mo ...

Added by wmolina on Mon, 08 Jul 2019 07:02:10 +0300

Spring Cloud-Zipkin (brave-okhttp) for monitoring

This paper is intercepted from: http://blog.csdn.net/liaokailin/article/details/52077620 This blog is based on the blog of God. Refuse to reach out to the party. What is zipkin?         Zipkin It is an open source distributed real-time data tracking system based on Google Dapper The paper was designed and developed by Twitter. Its main fu ...

Added by Poofman on Mon, 08 Jul 2019 03:45:47 +0300

springboot+redis+Interceptor+custom annotation to realize automatic idempotent interface

Foreword: In actual development projects, an exposed interface often faces many requests. Let's explain the concept of idempotency: the impact of any multiple execution is the same as that of a single execution. According to this meaning, the ultimate meaning is that the impact on the database can only be one-time and can not be repeated. How t ...

Added by seanrock on Sat, 06 Jul 2019 22:13:47 +0300

Simple Implementation of Spring-like Op Principle

About Op:Uses: Can be used in connection with the database, such as every time when connecting to the database, need to manually create a new connection, then perform database operations, and finally close the database connection to avoid resource consumption. At this time, some people are wondering if we can let the system automatically create ...

Added by Ashley Sheridan on Sat, 06 Jul 2019 21:12:26 +0300

Spring Boot Operating Principles - Core Annotations

3 Core Notes Open any * AutoConfiguration file, there are generally the following condition annotations, in the spring-boot-autoconfigure-1.5.3.RELEASE.jar package org.spring framework.boot.autoconfigure.condition conditions annotations are as follows: @ Conditional OnBean: The current container has a specified Bean condition. @ Conditio ...

Added by linus on Sat, 06 Jul 2019 00:16:56 +0300

Spring MVC's @InitBinder annotation uses

@ InitBinder is used to annotate methods in @Controller, indicating that the current controller registers a property editor or other, which is valid only for the current Controller. When using Spring MVC, we often encounter the conversion of Date string in form and Date type of JavaBean. Spring MVC does not support the conversion of this format ...

Added by warren on Fri, 05 Jul 2019 23:19:45 +0300