I have always had a question about using mybatis spring Mybatis source (I) overview As I mentioned in, the declaration cycle of SqlSession and Mapper objects is method level, that is to say, the SqlSession and Mapper objects of each request are different, which is a non singleton Bean. But after integrating with Spring, why can we directly inje ...
Posted on Wed, 27 Nov 2019 00:50:14 -0500 by xeross
This article mainly integrates an important function AOP of spring
Let's review how AOP was used in Spring. You can take a look at my article In depth analysis of spring 5 source code -- use of AOP and AOP custom label
Using AOP in Spring
Posted on Tue, 26 Nov 2019 23:46:52 -0500 by sureshmaharana
Feign is a declarative web service client. When using methods, define an interface and annotate it. Feign supports pluggable encoders and decoders. Spring Cloud encapsulates feign to support spring MVC and HttpMessageConverters. Feign can be combined with Eureka and Ribbon to support load balancing.
Most o ...
Posted on Tue, 26 Nov 2019 15:16:12 -0500 by Carolyn
The basic usage of RecyclerView is similar to that of ListView. You need to import it in the dependencies closure before using it
Step 1: establish a simple layout interface for RecyclerView
Posted on Tue, 26 Nov 2019 13:31:35 -0500 by pob123
The xml version keeps the old tradition of mapping file. The interface layer only needs to define empty methods. The system will automatically find the corresponding Sql in the mapping file according to the method name
The mysql file is the same as the annotation version. Configure xml below
Posted on Tue, 26 Nov 2019 12:16:01 -0500 by kharbat
Logback delegates the task of writing log events to the appender component. SiftingAppender, as its name implies, filters log events. Specifically:
For the log events that Logback delegates to it, SiftingAppender will make some distinctions on the log events, and then different events SiftingAppender will delegate different Appende ...
Posted on Tue, 26 Nov 2019 11:22:56 -0500 by premiso
After checking the relevant components,
A fundamental change has taken place in the pom.xml file
1. This is the pom file of the simplest project
This is the pom file of projects with web, mongodb, mybatis, redis, etc. checked
Comparing the two pom files, we can see that the main content of the project is added in ...
Posted on Tue, 26 Nov 2019 11:12:31 -0500 by manwhoeatsrats
There are many articles on the Web about "Building API Documents Using swagger2", which is an online document that requires HTTP access.However, in our daily use of swagger interface documents, sometimes we need offline access to interface documents, such as exporting documents to html, markdown format.Or we don't want the applicatio ...
Posted on Mon, 25 Nov 2019 19:49:35 -0500 by Vigilant Psyche
hadoop does not support lzo compression format by default;
lzo compression tool, which supports the segmentation of data larger than the block size, can improve the Job processing efficiency in production;
Components required for lzo:
Hadoop GPL packing: GPL packing is mainly used to create an index for the compressed lzo fi ...
Posted on Mon, 25 Nov 2019 14:44:45 -0500 by rajb
In (dubbo II) article , we have deployed customer and provider separately, this time we mainly record the transfer of files between customer and provider
If the file is saved directly in customer and does not need to be passed to provider, it has nothing to do with dubbo
If you need to transfer, if you use dubbo ...
Posted on Mon, 25 Nov 2019 13:21:00 -0500 by neller