[JVM Story] The Birth of a Java Byte Code File

Long text in thousands of words, completely fictitious.   (1)   An intern came to the group. After Li Dafang finished, he felt his level was average, but he still stayed. Why?Let's guess.Li Da-fat also enlightened himself in his heart. Students should not ask too much, as long as they are willing to go up and slowly.Just call it Xiao Bai.Xi ...

Added by Kingw on Fri, 05 Jun 2020 03:51:28 +0300

SpringSecurity - Authentication + Authorization Code Implementation

Authentication + Authorization Code Implementation Spring Security is a security framework based on Spring AOP and Servlet filters.It provides a comprehensive security solution while handling authentication and authorization at the Web request and method call levels. Previously, I blogged about the theory of authentication and authorization ...

Added by john_nyc on Thu, 04 Jun 2020 04:08:57 +0300

Cao Gong said Mini Dubbo -- analyze the source code of eureka client and try to register our service provider with eureka server

preface eureka is an important component of the spring cloud Netflix technology system, which mainly completes the function of service registration and discovery. Now there is a problem, the rpc service we wrote by ourselves, if we want to ensure enough openness and function perfection, we must support various registration centers. At present, ...

Added by Zoud on Mon, 01 Jun 2020 12:55:50 +0300

Introduce mybatis-plus to report an Invalid bound statement error. Move your finger to change one place

error Mybatis-Plus (MP) is an enhancement tool for mybatis. On the basis of mybatis, only enhancements are made without changes, which simplifies the development efficiency.This is to help us encapsulate some simple curd methods that can be called directly without rewriting these simple sql statements, just like JPA. A new project was created t ...

Added by zenix on Thu, 28 May 2020 06:02:40 +0300

Java Concurrent dry goods: let you understand the producer consumer problem

Source network, only for learning, if there is infringement, please contact delete. Producer consumer model is a very classic model of multithreading concurrent cooperation. Understanding the producer consumer problem can deepen our understanding of concurrent programming. The so-called producer consumer problem, in fact, mainly contains two ...

Added by duall on Tue, 26 May 2020 13:41:25 +0300

Spring MVC + POI export web data to Excel

Spring MVC + POI export web data to Excel Apache POI is an open source library of the Apache Software Foundation. POI provides the functions of reading and writing Microsoft Office files to Java programs. Next, I will release an example of Excel export based on spring MVC + Maven + poi. Welcome to criticize and correc ...

Added by Optimo on Sat, 23 May 2020 17:49:36 +0300

Detailed explanation of Spring IoC createBean method

preface This article mainly analyzes the flow of the createBean() method of Spring IoC and the bean life cycle. Here is a general flow chart: text AbstractAutowireCapableBeanFactory#createBean @Override protected Object createBean(String beanName, RootBeanDefinition mbd, @Nullable Object[] args) throws BeanCreationException { if ( ...

Added by skippence on Fri, 22 May 2020 13:27:50 +0300

Consul configuration center of Spring Cloud series

We have learned about Spring Cloud Config before: Consul configuration center of Spring Cloud series (I) Consul configuration center of Spring Cloud series (2) Consul configuration center of Spring Cloud series (3) It provides the function of configuration center, but it needs to cooperate with git, svn or external storage (such as various da ...

Added by synergypoint on Mon, 18 May 2020 09:51:39 +0300

Leader 1-to-1 micro service system Solar | Alibaba Sentinel landing practice

preface In recent years, the business of leader 1-to-1 has been developing rapidly, but at the same time, he has encountered "growing pains". With the increasing number of microservices, the traffic further increases, and the hardware resources are a little overwhelmed. Then, how to achieve better flow protection measures such as curr ...

Added by webtailor on Mon, 18 May 2020 09:32:34 +0300

Another way to write Spring MVC interface

1. Preface In general, the paradigm for writing Spring MVC interface is as follows: @RestController @RequestMapping("/v1/userinfo") public class UserInfoController { @GetMapping("/foo") public String foo() { return "felord.cn"; } } Today, I'm going to use the new Functional Endpoints introduced by Spring 5 to play. Sp ...

Added by mynameisbob on Fri, 15 May 2020 07:48:02 +0300