2, AOP of spring 5 framework

AOP AOP (concept) (1) Face to face programming (aspect), AOP can isolate all parts of business logic, so that The coupling degree between each part of business logic is reduced, the reusability of program is improved, and the efficiency of development is improved. (2) Popular Description: add new fun ...

Posted by michaelk46 on Sat, 06 Jun 2020 00:12:00 -0700

Learning notes and development of JUC

Learning notes and development of JUC Java JUC 1 Introduction to Java JUC 2 volatile keyword - memory visibility 2.1 memory visibility 2.2 volatile keyword 3 atomic variables and CAS algorithm 3.1 atomic variables 3.1.1 atomicity of I + + 3.1.2 atomic variables 3.2 CAS algorithm 3.2.1 ABA prob ...

Posted by dstockto on Fri, 05 Jun 2020 01:12:09 -0700

What's new in Java 13

Java 13 It has been officially released on September 17, 2019, Download Java 13 here Or here openJDK archived . Java 13 features. JEP 350: dynamic CDS Archive JEP 351: ZGC: uncommit unused memory JEP 353: re implement the old socket API JEP 354: switch expression (Preview) (developer ...

Posted by philwong on Thu, 04 Jun 2020 22:56:49 -0700

LinkedList source code - not commonly used methods

Here is a record of the methods that are not often used in LinkedList. Many of them are new in later versions. Learn more about the design ideas and usage of the implementation. 1. List to array /** * Returns an array containing all the elements in this list in the correct order, from the first element to the last. * The returned ar ...

Posted by teamfox20 on Wed, 03 Jun 2020 08:10:25 -0700

String can also do performance optimization, I can only say Niubi!

By Lyl Daisyhttps://blog.csdn.net/kkkkk0826/article/details/104171355 String string is one of the most commonly used types in the system, which occupies a large amount of memory in the system. Therefore, efficient use of string can improve the performance of the system. In the process of work and learning, I summarized the following three sch ...

Posted by Bob_PHP_Builder on Tue, 02 Jun 2020 18:00:44 -0700

Four ways to read the properties file in SpringBoot

preface Configuration files are often used in project development. The existence of configuration files solves a lot of repeated work. Today, I'll share four ways to get configuration files in spring boot. Note: the first three test configuration files are spring boot default application.properties file ############ ...

Posted by shaneiadt on Sun, 31 May 2020 07:32:08 -0700

Ubuntu installation configuration jdk

Install with paa source 1. Install paa sudo add-apt-repository ppa:webupd8team/java sudo apt-get update 2. Install Oracle Java installer jdk7 sudo apt-get install oracle-java7-installer jdk8 sudo apt-get install oracle-java8-installer The installer will prompt you to agree to oracle's terms of service and ...

Posted by Fixxer on Sat, 30 May 2020 22:05:00 -0700

Finally someone has made the java proxy clear, in all words!

What is a proxy The proxy pattern is a common java design pattern. It is characterized by the same interface between the proxy class and the delegate class. The proxy class is mainly responsible for preprocessing messages, filtering messages, forwarding messages to the delegate class, and postprocessing messages for the delegate class.The ...

Posted by coolphpdude on Fri, 29 May 2020 17:23:31 -0700

Java has not declined. Everyone's understanding of it is just beginning a new start of Java 8

Java has not declined. People's understanding of it is just beginning I'm glad to share the new features of Java 8 here. This article will take you step by step through all the new features of Java 8. I will show you the default method, lambda expression, method reference and repeated annotation in the interface through simple example code. A ...

Posted by FFEMTcJ on Fri, 29 May 2020 02:46:52 -0700

Linux system CentOS 6.9 x64 configures jdk and MySQL 8.0 environment and grants MySQL remote access

Blogger server version and installed jdk and mysql versions: System: CentOS 6.9 jdk: jdk1.8_221 MySQL: mysql8.0.20 Relevant files needed in the configuration process (click to download from Baidu cloud): jdk: jdk-8u221-linux-x64.tar.gz (extraction code: kkp7) mysql: mysql-8.0.20-1.el6.x86_64.rpm-bundle.tar (extraction code: 0pvh) Softwar ...

Posted by daydreamer on Tue, 26 May 2020 23:56:40 -0700