When using spring MVC, when invoking the interface to transfer data, we mostly use json format to transfer data, which is also the default option in this framework. But if we want to define our own transport format, write our own parsing interface, and define our own media type as an extension ...
Posted on Wed, 05 Feb 2020 05:02:56 -0800 by Kestrad
If you don't understand dynamic agents, you can't understand the principles of many of the most popular frameworks, such as spring.
If you don't understand the offer of dynamic agent, you are likely to get involved.
To understand dynamic agent, we must first understand agent pattern
What is agent mode?
There is a printer class
public class Pri ...
Posted on Wed, 05 Feb 2020 03:31:05 -0800 by tjhilder
1. Architecture Design
As shown in the figure above, the entire request process in zuul is as follows:
The request is first processed by the zuulservlet, which has a zuulRunner object that initializes RequestContext: as some data that stores the entire request and is shared by all zuulfilter s.
Posted on Tue, 04 Feb 2020 18:18:01 -0800 by theresandy
Several case s where transactions for the SpringBoot series of tutorials do not work
Previous posts on declarative transactions @Transactional use posture, knowing only that the correct posture may not be enough, and what scenarios do not work to avoid pit mining.This article will focus on a few case s where transactions do not take effect
Posted on Tue, 04 Feb 2020 17:03:37 -0800 by Rupuz
Routing endpoint of cloud and docker zuul
Exposed route endpoint / routes
@EnableZuulProxy works with the actor, zuul exposes the routing endpoint / routes
Get access, get route list
post access, force refreshing route list
Starter zuul already contains an actor
Posted on Tue, 04 Feb 2020 07:27:13 -0800 by toodi4
spring boot version: 2.1.10.RELEASE
spring cloud version: Greenwich.SR4
Last blog post Spring Cloud Stream I have a preliminary understanding of Spring Cloud Stream, and have written an example of getting started. Based on the previous article, this paper implements the grouping of messages.
Stream re ...
Posted on Tue, 04 Feb 2020 07:19:51 -0800 by The_Walrus
What is AOP?
AOP is the abbreviation of Aspect Oriented Programming, which means: face-to-face programming. Spring provides rich support for face-to-face programming, which allows cohesive development by separating application business logic and system level services.
Application objects onl ...
Posted on Tue, 04 Feb 2020 06:39:33 -0800 by tensionx
Today we will introduce another library of SPF 13 cast . cast is a small and practical type conversion library for converting one type to another.
cast was originally developed for hugo Medium.
$ go get github.com/spf13/cast
Posted on Tue, 04 Feb 2020 04:18:06 -0800 by Lumio
Follow today The blogger Learn the back-end registration encryption and login decryption functions.
1. To be honest, I didn't understand the application of Shiro framework in springboot. So I put the code to record what I did:
First, the realm class of the realm package:
import com.exa ...
Posted on Mon, 03 Feb 2020 08:07:24 -0800 by Kunax
I don't know if you've ever been bothered by spring's transactions, transaction propagation behavior, transaction isolation level, aop concepts. Do you want to surrender? This article will take you to ravage these difficult concepts and break through the final understanding of things.
Spring provides a transaction management interface. Platfor ...
Posted on Mon, 03 Feb 2020 01:10:53 -0800 by nodster