Java: an implementation principle summary and use example of reading annotations

Write before: In the past, "XML" was the favorite of all major frameworks. It completed almost all the configurations in the framework in a loose coupling way. However, as the project became larger and larger, the content of "XML" became more and more complex and the maintenance cost became higher. Therefore, someone propo ...

Posted by chapm4 on Fri, 17 Sep 2021 20:15:34 -0700

Crazy SpringCloud Notes 05 (Zuul and Config)

9.Zull Routing Gateway Summary What is zuul? Zull contains two main functions: routing the request (for jumping) and filtering: (The routing function is responsible for forwarding external requests to specific micro-service instances, which is the basis for achieving a unified entry for external access, while the filter function is re ...

Posted by andco on Sun, 12 Sep 2021 12:23:54 -0700

Spring boot integrates swagger gracefully

Import dependency <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> <groupId>io.springfox ...

Posted by Michael Lasky on Thu, 09 Sep 2021 15:06:36 -0700

[source code analysis and design pattern] 102021 is a significant year

The Adapter pattern converts the interface of a class into another interface that the customer wants. So that those classes that could not work together due to interface incompatibility can work together. The adapter pattern has two different forms: class adapter and object adapter. 2, Structure of adapter mode 1. Target Define a specific ...

Posted by andre_c on Mon, 06 Sep 2021 13:10:21 -0700

Spring MVC learning summary RESTful introduction / HiddenHttpMethodFilter filter source code analysis / sending put and delete requests using RESTful style / complete cases of RESTful style

1, Introduction to RESTful REST: Representational State Transfer, the state transfer of presentation layer resources. resources: Resource is a way of looking at the server, that is, the server is regarded as composed of many discrete resources. Each resource is a named abstraction on the server. Because resource is an abstract concept, it can ...

Posted by fubowl on Thu, 02 Sep 2021 16:38:39 -0700