Java programmers must master the four basic!

Probably everyone began to use Java when they were students. We have been learning Java, but there are always some unclear concepts in Java, no matter for junior or senior programmers. Therefore, the purpose of this article is to clarify these concepts. After reading this article, you will have a deeper understanding of these concepts, and you ...

Posted on Thu, 07 May 2020 20:35:18 -0700 by MerMer

How to quickly view the login IP address and other information in Spring Security? One move

I've talked about how to use a more elegant way to customize Spring Security login logic. A more elegant way can effectively avoid the inefficiency brought by custom filters. I suggest you read it and understand the authentication logic in Spring Security by the way. No nonsense. Let's look at today's article. 1.Authentication I've talked with ...

Posted on Thu, 07 May 2020 01:08:54 -0700 by Niruth

Nearly 8000 words of Spring common annotation summary, 80% of people do not know

0. Preface Hello, I'm brother Guide! This is my 221 excellent original articles. If you need to reprint, please indicate the address at the beginning of the article, crab! This article has been included in my open source Java project JavaGuide of 75K Star: github.com/Snailclimb/... Related reading: Version 2.0 of "JavaGuide interview shoc ...

Posted on Thu, 07 May 2020 00:57:27 -0700 by Lorik

Spring Cloud-Gateway Spring-Cloud-Gateway

brief introduction Spring Cloud Gateway is a new project of Spring Cloud, which is a gateway based on technologies such as Spring 5.0, Spring Boot 2.0 and Project Reactor. It is designed to provide a simple and effective unified API routing management method for the micro service architecture. As a gateway in the Spring Cloud ecosystem, Sprin ...

Posted on Wed, 06 May 2020 22:00:41 -0700 by joeami

spring Source Read Notes 10: bean Life Cycle

The previous articles focused on analyzing SpringThe principle of the IOC Container section, the core logic of which is related to the creation and management of beans. For the management of single beans, from creation to caching to destruction, there is a complete life cycle, and Spring also provides multiple interfaces for users to extend the ...

Posted on Wed, 06 May 2020 18:04:27 -0700 by justgrafx

Using JavaScript to change color between rows

Table alternate color requirement analysis There is too much information about our product classification. If each line displays the same color, it will make people dazzled. In order to improve the user experience and reduce the user's mistake, we need to change color between lines in the table technical analysis table object aggregate Cells [] ...

Posted on Wed, 06 May 2020 08:34:48 -0700 by TropicalBeach

Using JQuery to complete the color change of the interlaced table

Js related technology Get all rows ​ table.rows[] Change the color of the row ​ row.bgColor ="red" ​ row.style.backgroundColor = "black" ​ row.style.background = "red" ​ "background-color:red" ​ "background:red" requirement analysis In our actual development process, if all the rows of our table are the same, it's easy to see eye candy, so we n ...

Posted on Wed, 06 May 2020 07:19:41 -0700 by jmoreno

Principles of reflection and reflection in Spring, detailed case explanation

  stay Making wheels: to realize a simple Spring IoC container Spring uses reflection when creating Bean instances and dependency injection, which is mentioned in the article. In this article, we will analyze the reflection and the principle of reflection in spring. 1, Reflection in Spring 1.1. Reflection when creating a Bean instance //Throug ...

Posted on Wed, 06 May 2020 03:45:01 -0700 by pernest

One stop solution to various pain points of enumeration

If the variable value has only a limited number of optional values, it is a normal operation to define constants with enumeration classes. However, in the business code, we do not want to rely on the coordination () for business operations, but to customize the number attributes to avoid the impact of increasing or decreasing the enumeration va ...

Posted on Tue, 05 May 2020 22:59:49 -0700 by mrhappiness

New understanding of Spring IOC

Analysis of spring IOC Re IOC and DI IOC(Inversion of Control) inversion of control: the so-called inversion of control is to reverse the code that we need to create and depend on the objects in our code to the container for help. Therefore, we need to create a container and a description to let the container know the relationship between the ...

Posted on Tue, 05 May 2020 14:07:49 -0700 by shadow1200