Component Scan Configuration Class for Spring Source Analysis

After the bean definition is parsed, verify that there are parsing errors and create configuration class reading class do { parser.parse(candidates); parser.validate(); Set<ConfigurationClass> configClasses = new LinkedHashSet<ConfigurationClass>(parser.getConfigurationClasses()) ...

Posted by niekos on Fri, 11 Oct 2019 12:29:19 -0700

Centos configuration Nginx+tomcat

1. installation 1.1 Install gcc gcc-c++ (If new environment is not installed, please install first) $ yum install -y gcc gcc-c++ 1.2 Installation of the PCR E Library $ cd /usr/local/ $ wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.33/pcre-8.33.tar.gz $ tar -zxvf pcre-8.36.tar.gz $ cd ...

Posted by reub77 on Fri, 11 Oct 2019 12:05:42 -0700

Easy to understand spring singleton and prototype

As for spring bean scopes, based on different containers, there will be differences, such as BeanFactory and Application Context containers. In this article, we mainly discuss the bean scopes based on Application Context containers. As for the scope of bean s, spring mainly includes singleton,prototype,session,request,global. This article main ...

Posted by robogenus on Fri, 11 Oct 2019 05:48:32 -0700

Tomcat Source Analysis I: Compiling Tomcat Source Code

Tomcat Source Analysis I: Compiling Tomcat Source Code 1 Content Introduction In the previous "Servlet and Tomcat Running Example" article, we will show you how to deploy Servlet application in Tomcat. This article will start Tomcat source code analysis journey on the basis of the above, I will analyze the starting process and operati ...

Posted by [JayZ] on Fri, 11 Oct 2019 01:01:54 -0700

SpringBoot integrates MyBatis-Plus introductory experience

I. Preface This article will integrate MyBatis-Plus based on SpringBoot. MyBatis-Plus is an enhancement tool for MyBatis, which enhances MyBatis without changing its original function.~ 2. SpringBoot Integration MyBatis-Plus Basic environment spring-boot 2.1.8 mybatis-plus 2.2.0 mysql 5.7.24 maven project 1. Introducing MyBatis-Plus dependen ...

Posted by Oren on Thu, 10 Oct 2019 19:58:11 -0700

Android native PDF function realization: PDF reading, PDF page jump, PDF gesture expansion, PDF directory tree, PDF Preview thumbnail

1, background Recently, the company hopes to achieve Android native PDF function, requirements: efficient and practical. After two days of research and coding, a simple Demo is implemented, as shown in the figure above. There are still many technical points about the realization of PDF function in Android's native end. In order to avoid detour ...

Posted by nita on Thu, 10 Oct 2019 19:49:26 -0700

Hand-held Band You Use Ribbon to Realize Load Balancing on the Client

Previous articles Spring Cloud Building Registry and Service Registration This paper introduces the construction of the registry and the registration of services. This paper will introduce the process of load balancing for service consumers through Ribbon invoking services. Contents of this article I. Ribbon service invocation processII ...

Posted by zkoneffko on Thu, 10 Oct 2019 18:42:02 -0700

Hand-in-hand instructions on building component architecture for Android projects

Article directory 1. overview 2. Basic configuration 3. Setting Module 1. overview Project address: ComponentizationDemoComponentization: app is divided into modules according to business, function, etc. Then it can be implemented in specific modules with MVC, MVP, MVVM and other architectures.F ...

Posted by hypuk on Thu, 10 Oct 2019 13:34:10 -0700

How Java Implements Exporting Excel

Tool class used: org. jeecgframework. poi. excel. Excel ExportUtil The source code is as follows: public class ExcelExportUtil { private ExcelExportUtil() { } /** * @param entity * Table Title Properties * @param pojoClass * Excel Object Class ...

Posted by Kaylub on Thu, 10 Oct 2019 11:56:53 -0700

DOM&BOM Operation

The difference between property and attribute <div id="div1" class="class-div1"> <P id="p1" data-name="p1-data-name">this is p1</P> <P id="p2">this is p2</P> </div> //property var div1 = document.getElementById('div1') console.log(div1.className) div1.className = ...

Posted by sunilvadranapu on Thu, 10 Oct 2019 08:39:13 -0700