Spring from entry to soil (easy to understand version)

1, Basic overview 1.1 what is spring? โ€‹ Spring is a lightweight java development framework rising in 2003. It is created to solve the complexity of enterprise application development. The core of spring is inversion of control (IoC) and aspect oriented programming (AOP). Spring is a lightweight open source framework that can be used in Java ...

Posted by rossmurphy on Wed, 09 Mar 2022 12:56:44 +0100

Basic Java learning - Chapter 3 array

Basic Java learning - Chapter 3 array 1, Overview of arrays 1. Definition of array An Array is a collection of multiple data of the same type arranged in a certain order, named with a name, and managed uniformly by numbering. 2. Array related concepts Array nameSubscript (index)elementLength of the array (number of elements) 3. Characteri ...

Posted by SwiftlyTilting on Wed, 09 Mar 2022 12:55:05 +0100

Java Foundation (Collection)

1, Overview of collection framework 1. Sets and arrays are structures that store multiple data, referred to as Java containers for short โ€ƒโ€ƒ note: storage at this time mainly refers to memory storage, and does not involve persistent storage (. txt,.jpg,.avi, database) 2. Characteristics of array in storing multiple data: โ€ƒ&emsp ...

Posted by bitt3n on Wed, 09 Mar 2022 12:37:12 +0100

SpringBoot04: JSR303 data verification and multi environment switching

JSR303 data verification Let's see how to use it first In Springboot, @ validated can be used to verify the data. If the data is abnormal, exceptions will be thrown uniformly to facilitate the unified processing of the exception center. Let's write a comment here so that our name can only support Email format; @Component //Register bean @Con ...

Posted by iacataca on Wed, 09 Mar 2022 12:20:15 +0100

Netty series: detailed explanation of NIO and netty

brief introduction Why is netty fast? This is because the bottom layer of netty uses JAVA nio technology and optimizes the performance on its basis. Although netty is not a pure JAVA nio, the bottom layer of netty is still based on NiO technology. nio is jdk1 4, which is different from traditional IO, so nio can also be called new io. The thre ...

Posted by onthespot on Wed, 09 Mar 2022 12:05:19 +0100

Maven installation configuration

In the previously developed java applications, we used the lib package to import the required dependencies. However, as the program becomes more and more complex and the project becomes larger and larger, we need more and more dependent packages. All of them are copied to lib package, which obviously can not meet our needs. Is there a better wa ...

Posted by kevinkorb on Wed, 09 Mar 2022 12:00:04 +0100

Netty series: detailed explanation of NIO and netty

brief introduction Why is netty fast? This is because the bottom layer of netty uses JAVA nio technology and optimizes the performance on its basis. Although netty is not a pure JAVA nio, the bottom layer of netty is still based on NiO technology. nio is jdk1 4, which is different from traditional IO, so nio can also be called new io. Th ...

Posted by starnol on Wed, 09 Mar 2022 11:58:58 +0100

[Blue Bridge Cup] the "sixth move" of the 14 move sprint "Java API"

preface - ๐Ÿ€ Hello, I'm BXuan, a sophomore of software engineering who loves programming and basketball - ๐Ÿ“š Recently, in preparation for the blue bridge provincial competition in April, this chapter will talk with you about common java API s! - ๐Ÿƒ It's not hard to give up, but it must be cool to insist. Knowledge points Explanati ...

Posted by Hisakata on Wed, 09 Mar 2022 11:58:46 +0100

Concurrent programming synchronized

Concurrent programming synchronized What I said earlier As I said at the beginning, I want to sort out some learning documents of java Concurrent Programming. This is the third article: synchronized keyword. It mainly discusses the use of synchronized keywords, lock principle, lock reentry, dirty reading, lock upgrade and other issues. Welc ...

Posted by hykc on Wed, 09 Mar 2022 11:46:40 +0100

Elasticsearch client and API usage in SpringBoot

Official documents: Java Transport Client (deprecated) [7.17] | Elastic 1. Create client (1)TransportClient The TransportClient client will be deprecated in ES version 7.0 and completely removed in version 8.0 Create steps: //Directly in http://127.0.0.1:9200/ You can see the cluster corresponding to es in_ name Settings settings= Settings ...

Posted by nashirak on Wed, 09 Mar 2022 10:51:25 +0100