Java annotation learning notes basic concept understanding

Concept of annotation Annotation, also known as Metadata, is a new feature of Java 5. JDK5 introduces Metadata and can easily call annotations. Annotations are at the same level as classes, interfaces and enumerations, and can be applied to the declarations of packages, types, construction methods, methods, member variables, parameters and ...

Added by billynastie on Fri, 18 Feb 2022 17:28:12 +0200

5. Local - built in filter factory

There are many built-in filter factories in Gateway. Through some filter factories, we can carry out some business logic processors, such as adding and removing response headers, adding and removing parameters, etc Filter factory official website: https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/#gatewayfilter-factorie ...

Added by pauper_i on Fri, 18 Feb 2022 17:21:55 +0200

redis distributed lock

preface redis and zookeeper are the most widely used choices of distributed locks in the market. These two implementations have their own advantages. zookeeper: high availability, low performance and low concurrency. redis: high performance, medium availability and high concurrency Select the appropriate technology implementation according ...

Added by cab on Fri, 18 Feb 2022 16:19:16 +0200

Data cleaning using poi

1. Data cleaning 1.1. What is data cleansing Data cleaning – the process of re examining and verifying data to remove duplicate information, correct existing errors, and provide data consistency. From the name of data cleaning, we can see that it is to "wash away" the "dirty", which refers to the last procedure ...

Added by Chamza on Fri, 18 Feb 2022 15:30:10 +0200

General review of Spring framework

Spring framework 1: Frame idea: Making the existing technology easier to use is itself a hodgepodge, integrating the existing technology framework :SSM : SpringMVC +Spring +MyBatis 1.spring configuration file 1.1: jar package dependency <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...

Added by Gayathri on Fri, 18 Feb 2022 15:02:12 +0200

Spring series 15: Environment abstraction

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python actual combat quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 Content of this article Two important concepts of Environment abstraction@Use of Profile@Use of PropertySource Two important concepts of Envi ...

Added by joshgarrod on Fri, 18 Feb 2022 14:28:06 +0200

This is how Spring Security filters should be configured

CaptchaAuthenticationFilter this verification code filter is implemented by imitating UsernamePasswordAuthenticationFilter. Similarly, since the configuration of UsernamePasswordAuthenticationFilter is completed by FormLoginConfigurer, it should also be able to imitate FormLoginConfigurer and write a configuration class CaptchaAuthenticationFil ...

Added by Rabioza123 on Fri, 18 Feb 2022 14:19:40 +0200

A piece of code was refactored six times by the boss, and my mentality collapsed

preface Hi, Hello, I'm Milo. I'm back 🙈 Come in and gossip for everyone and see what I've done myself? Recently, the company received a new project of agricultural products trading website. Because of a code reconstruction problem, it almost got into trouble with the boss. I thought it was the boss who deliberately made trouble for me. ...

Added by QbertsBrother on Fri, 18 Feb 2022 14:11:07 +0200

SpringCloud learning notes (crazy God video notes)

SpringCloud (V) 6. Ribbon: load balancing (client based) 6.1 load balancing and Ribbon What is Ribbon? Spring Cloud Ribbon is a set of client-side load balancing tools based on Netflix Ribbon.In short, Ribbon is an open source project released by Netflix. Its main function is to provide software load balancing algorithms for clients and ...

Added by cnl83 on Fri, 18 Feb 2022 14:07:16 +0200

Understanding of handwritten tomcat content in the development of JSP+Servlet+Tomcat application of Mr. Ma soldier in station B

This article is used to understand the specific implementation of tomcat written by teachers Introduction (negligible) After learning the basics of java, I looked directly at this video. I looked at it very well in the front. I was blinded when I saw the teacher writing this tomcat. First, I spent two days to re learn the knowledge of IO flow ...

Added by inVINCEable on Fri, 18 Feb 2022 13:38:25 +0200