[spring 12 / 43] - IOC parsing bean Tags: parsing custom tags

Reference article: [Spring 12/43] - IOC parsing bean Tags: parsing custom tags https://www.cmsblogs.com/article/1391375348356222976 text The previous four articles analyze the parsing process of Bean default tags, including basic properties The six sub elements (method, lookup method, replaced method, constructor Arg, property and qualifier) ...

Added by tHud on Wed, 15 Dec 2021 23:06:17 +0200

Climbing the Spring Pearl mulama peak: preInstantiateSingletons method, L3 cache, circular dependency

1) Spring L3 cache and circular dependency This article will take the DefaultListableBeanFactory#preInstantiateSingletons method as the starting point, and mainly sort out the problems related to L3 cache and circular dependency. The following is a brief review of the process between. For details, see another article: Spring launch proces ...

Added by nadnad on Wed, 15 Dec 2021 22:42:13 +0200

MyBatis source code analysis - plug-in related

In this article, I will introduce the source code of the plug-in. The MyBatis plug-in is a good function, similar to Spring's Aop, so that our users can operate SQL flexibly at specific points of the process. Allow me to quote an online introduction because I think it is well summarized: MyBatis allows us to intercept and call a certain point ...

Added by jtgraphic on Wed, 15 Dec 2021 22:22:13 +0200

Common problems encountered in myBatis and Spring coding

1. When the front and rear ends are connected, the list cannot be found when the private message list is displayed Error code: //List.jsp: <td><a href="/communications/${receiver}">private letter</a></td> Error reporting reason: MessageControl. The method call to return the private message page of the specified user ...

Added by rcmehta_14 on Wed, 15 Dec 2021 21:52:00 +0200

Memory leak! Do you really understand the reason for overriding the equals() and hashcode() methods?

Basic conceptsTo compare whether two objects are equal, you need to call the equals() method of the object:Judge whether the object addresses pointed to by the object reference are equalWhen the object addresses are equal, the data related to the object is also equal, including:object handle Object headerObject instance dataObject type dataYou ...

Added by eletrium on Wed, 15 Dec 2021 16:14:34 +0200

Cluster timing task single point control solution (distributed lock + renewal lock solution)

1. Business requirements description There is a requirement in the development process: there are some Spring scheduled tasks in the cluster environment. These scheduled tasks summarize and generate some log data every minute, but we only want one server in the cluster to execute and design a high-performance and stable execution framework (th ...

Added by TheWart on Wed, 15 Dec 2021 15:46:52 +0200

Use spring security in Java and stay up late to sort out Java high-frequency interview questions

Other jar s in spring security provide other advanced authentication technologies, such as LDAP authentication, OpenID authentication, implementation options in authentication, etc. But here, I'll focus on Web application authentication. In the servlet configuration xml file or application context xml, you need to specify the following URL in ...

Added by AceOfJames on Wed, 15 Dec 2021 09:40:55 +0200

2021-09-06 JPA Hibernate 5-byte code enhanced lazy loading (invalid due to jackson serialization)

JPA Hibernate 5 lazy load Cause: there is a large field (rich text field with base64 image) in the project. When querying the front end, you don't want every entity class to carry this field, so you try to load it lazily The test writes a student class, where description is a large field that needs to be loaded lazily, and there are some one- ...

Added by ReignFire on Wed, 15 Dec 2021 05:56:49 +0200

R2DBC, the most complete BAT interview questions sorting

The term "reactivity" refers to the programming model built around responding to change, availability, and processability - network components respond to I/O events, UI controllers respond to mouse events, resources are available, and so on. In this sense, non blocking is reactive because we are now in the mode of responding to notifi ...

Added by Edd on Wed, 15 Dec 2021 00:19:19 +0200

Comprehensive summary of Java annotations, original by Ali experts

===== @Target It is added to the Annotation through @ target to explain the object scope modified by Annotation: Annotation can be used for packages Types (classes, interfaces, enumerations, Annotation types), type members (methods, construction methods, member variables, values), method parameters and local variables (such as loop variable ...

Added by Charles256 on Tue, 14 Dec 2021 23:37:39 +0200