

java annotations are easy to use
java annotations are easy to use Annotations have been used throughout the development process, and today I finally want to look at the implementation of annotations.Drive directly // Custom Notes // Annotation has been implemented here // Note that comments are only valid in the form of reflection calls @Retention(value = RetentionPolicy.RUNTIME) @Target(value = {ElementType.METHOD,ElementType.FIELD}) public @interface InterfaceTest...




The deepest analysis of spring boot MVC automatic configuration failure in the whole network
preface I didn't plan to write this article, but after reading the core principles of SpringBoot, I suddenly thought of the MVC automatic failure problem encountered in the previous development. Although there are many...

Chapter 13: concurrent deadlock and enterprise solutions (deadlock, livelock, starvation)
1. What is a deadlock? What's the harm? 1.1 what is deadlock? Occurs in concurrency [mutually exclusive]: when two (or more) threads (or processes) hold each other's resources required by each other, but do not...

Learn Java design mode again: actual memo mode "simulate the scenario of profile rollback during the online process of Internet system"
Author: little brother FuBlog: https://bugstack.cn -Original series of special articles Precipitation, sharing, growth, so that they and others can have a harvest! 😄 1, Preface Can't it be an excuse for R &...








How does Java implement the Future pattern? Detailed explanation of ten thousand words!
JDK1.8 source code analysis project (Chinese note) Github address: https://github.com/yuanmabiji/jdk1.8-sourcecode-blogs 1 what is future? For example, when we buy things online, an order number will be generated after...



Common knowledge accumulation of spring boot development
Article catalog SpringBoot get Request and Response Transaction uses @ Transactional AOP development process SpringBoot get Request and Response Through static method acquisition, you can also encapsulate a static method public String test() { ServletRequestAttributes attributes = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes(); HttpServletRequest request = attributes.getRequest(); HttpServletResponse...