spring source series 8: creation of AOP source resolution agent

review First review: JDK dynamic agent and CGLIB dynamic agent The difference between the instantiation awarebeanpostprocessor and bean postprocessor in Spring We learned that Two elements of JDK dynamic proxy: Proxy+InvocationHandler Two elements of CGLB dynamic agent: Enhancer + MethodInterceptor(Callback) Spring AOP is implemented by dynamic ...

Added by kituscat on Wed, 23 Oct 2019 04:41:45 +0300

Using FastJson to parse Json data in Spring Boot

First, we create a maven project, as shown in the following figure:Step 2: configure pom.xml <parent>       <groupId>org.springframework.boot</groupId>       <artifactId>spring-boot-starter-parent</artifactId>       <version>1.4.1.RELEASE</version>   </parent> <properties>     <project.b ...

Added by sevenupcan on Wed, 16 Oct 2019 18:33:05 +0300

Java Collection Explanation 6: This time, take you through the red and black trees in Java

The Java Collection Detailed Series is a new series that I am going to start after I have completed a series of blogs that consolidate the Java Foundation Chapter. These articles will be sorted out into my Java Interview Guide warehouse on GitHub, and more exciting content can be found in my warehouse. https://github.com/h2pl/Java-... If you li ...

Added by FFFF on Sat, 12 Oct 2019 15:07:58 +0300

Java Collection Explanation 1: Read ArrayList,Vector and Stack's Usage and Implementation Principles

This article gives a very detailed introduction to three collection classes in JavaArray List, Vector and Stack The Java Collection Detailed Series is a new series that I am going to start after I have completed a series of blogs that consolidate the Java Foundation Chapter. These articles will be sorted out into my Java Interview Guide warehou ...

Added by dunhamcd on Thu, 10 Oct 2019 21:07:01 +0300

Produce WebLogic deployment, develop web.xml configuration pits caused by Tomcat

Finishing the cloud payment platform project, because it was not urgent to go online, and went to do other projects, which delayed for a month, and then suddenly need to go online, the production environment is the deployment of WebLogic, originally good project, lead to war bag lost to production, t ...

Added by Hitch54 on Thu, 10 Oct 2019 10:15:36 +0300

CentOS - Install jdk (uninstall openjdk)

Article directory I. Unloading openjdk 1. View the openjdk version 2. Unload openjdk Download jdk1.8 III. Installation of jdk1.8 Method 1. Manual configuration 1. Preparing jdk files 2. Configure `etc/profile'` 3. Make `etc/profile'effective Method 2. Installing binary packages Off-topic: Insta ...

Added by Base on Sun, 06 Oct 2019 13:23:43 +0300

Talk about nacos'DestroFilter

order This paper mainly studies the ListroFilter of nacos. CanDistro nacos-1.1.3/naming/src/main/java/com/alibaba/nacos/naming/web/CanDistro.java @Retention(RetentionPolicy.RUNTIME) public @interface CanDistro { } CanDistro is used to identify a method that needs to determine whether it should be redirected based on distro DistroFilter nacos ...

Added by psd99 on Sat, 05 Oct 2019 14:12:38 +0300

SpringBook thread pool configuration and asynchronous task invocation

Way 1: Rewrite spring's default thread pool 1. Configuration of related parameters #Thread-related configuration #Number of core threads task.pool.corePoolSize: 5 #Maximum number of threads in thread pool task.pool.maxPoolSize: 20 #Maximum idle time of threads task.pool.keepAliveSeconds: 300 #Maxim ...

Added by g00bster on Sat, 05 Oct 2019 11:16:46 +0300

A comparative analysis of jackson, fastjson and Gson

Fast is not the only factor to be considered. Compared with database IO, json parsing time is negligible.2 fastjson has made many optimizations for specific requirements, resulting in less stringent checks, such as array [daylight saving time], summer time, or not at the end.3. Jackson is more powerful and more configurable (fastjson)For exampl ...

Added by Gargouil on Tue, 01 Oct 2019 01:32:59 +0300

Hadoop Big Data: Combiner/serialization/sorting in mapreduce

Combiner in mapreduce (1) combiner is a component other than Mapper and Reducer in MR programs (2) The parent class of combiner components is Reducer (3) The difference between Combiner and reducer lies in the location of operation: Combiner runs at every maptask node Reducer receives the output of a ...

Added by northcave on Mon, 30 Sep 2019 23:29:29 +0300