Spring AOP custom label parsing

Article directory AOP implementation based on XML -- label parsing Annotation based AOP implementation -- label parsing summary Reference resources stay Get to know Spring AOP In this paper, we have a preliminary understanding of the concept and implementation of Spring AOP. Then we will have a de ...

Posted by parkie on Fri, 28 Feb 2020 00:12:24 -0800

go to implement java virtual machine 02

In the previous article, the command-line parameters are parsed through the flag package. In fact, the input parameters are saved in a structure. In the previous article, for example, the command java -classpath hello.jar HelloWorld, how can the HelloWorld class be found? Is it directly found in hello.jar? Remember java's class loading mechanis ...

Posted by jeancharles on Thu, 27 Feb 2020 23:31:24 -0800

Multithreading: thread creation and thread safety

Article directory Program, process, thread Create thread Startup thread Thread safety To solve the problem of thread safety (to realize Runnable) -- synchronous code block To solve the problem of thread safety (to realize Runnable) -- synchronization method To solve the Thread safety problem (inhe ...

Posted by surreal5335 on Wed, 26 Feb 2020 20:25:07 -0800

Java cold knowledge Magic Number

1, Magic number in programming In the first article of constant definition in Section II of the programming specification of Alibaba Java Development Manual: Magic value (magic number) refers to an undefined constant, while the "ID × Taobao × U" in the opposite example is called ...

Posted by jagat21 on Wed, 26 Feb 2020 05:21:11 -0800

9 - [thread pool] - 2 four ways to create thread pool

1 ThreadPoolExecutor Java is a language that naturally supports concurrency. Supporting concurrency means multithreading. Frequent creation of threads consumes a lot of resources in high concurrency and large amount of data, because Java provides a thread pool. Before JDK1.5, the use of thread pool wa ...

Posted by Vikas Jayna on Wed, 26 Feb 2020 03:59:51 -0800

Hadoop running environment building tutorial

1. Environmental preparation: A linux machine can be a virtual machine installed by local VMware or a real linux machine. If it is a locally installed virtual machine, the following points need to be pre configured: Configure the static IP of the machine (to prevent IP changes during restart) Modify host name (easy to configure) Turn off the ...

Posted by crazylegseddie on Tue, 25 Feb 2020 19:02:32 -0800

alpine Makes Mirrors

alpine Make Mirror Introduction to alpine Linux Making JDK8 Mirror Based on alpine Alpine Makes a jre Mirror Docker image uploaded to Aliyun preparation in advance Forget password can be modified by clicking on menu:'Container Mirror Service'- >'Default Instance' - >'Access Credentials' Pull mi ...

Posted by kanetan on Tue, 25 Feb 2020 17:23:37 -0800

FFmpeg porting Android platform

Development environment: FFmpge 3.3.9, JDK 1.8, Android Studio 3.5, NDK 14b, Android SDK, win10 64 bit system 1, Download FFmpeg (3.3.9) 1. Download address http://www.ffmpeg.org/download.html#releases%20%EF%BC%89 2. Right click Download gzip tarball, copy the link, log in to the server and execute the ...

Posted by Magneto on Tue, 25 Feb 2020 07:16:58 -0800

Self implementation of Spring core IOC and AOP

Article directory Spring 1. Core Container 2,Data Access 3,Web 4,AOP 5,Test Correspondence between Spring version and Java version IoC 1. XML parsing: 2. Create objects dynamically based on the information obtained in step 1 The spring-ioc.xml file is as follows Class User Spring provides point p ...

Posted by loveranger on Mon, 24 Feb 2020 20:09:07 -0800

Enumeration classes and annotations

Enumeration classes and annotations 1, Use of enumeration classes 2, How to define enumeration class Method 1: before jdk5.0, customize enumeration class Mode 2: jdk5.0, enum keyword can be used to define enumeration class 3, Common methods in Enum class: 4, Implementation of the interface using en ...

Posted by nttaylor on Mon, 24 Feb 2020 03:11:21 -0800