[Spring cloud realizes advertising system step by step] 20. System running test

System operation After a long time of coding implementation, our main module has been basically completed, because before we are scattered on the various micro-services self-test, next, we need to all service modules for debugging testing, Let's do it. Clear Test Data & Test Files In the process of implementing various services, we add a lo ...

Posted on Sun, 18 Aug 2019 08:01:58 -0700 by andrewmay67

springboot 2.1.7 + mysql5.6 Discard Calendar type field

Reason: When using Calendar as the field type, each findById() operation returns a slightly larger value than the actual value.The query will be invoked after the update and will be larger.That is, if we use Calendar as the field type, the field will quietly grow when the program runs. Code preparation The sample code is simple: we only need to ...

Posted on Sat, 17 Aug 2019 19:18:39 -0700 by mie

Reflection mechanism learning record

Reflection Reflection is regarded as the key of dynamic language. Reflection mechanism allows programs to obtain internal information of any class during execution by means of Reflection API, and directly manipulate the internal attributes and methods of any object. Functions provided by Java reflection mechanism Judge the class of any objec ...

Posted on Sun, 28 Jul 2019 07:49:07 -0700 by sfarid

Meaning of Maven Scope value

https://www.jianshu.com/p/7145f01ac3ad In the pom.xml file of a Maven project, dependency is typically given a scope property that specifies the scope of use of dependent jar packages. scope has the following five values: 1. compile (default) Dependent projects need to participate in the compilation of ...

Posted on Fri, 26 Jul 2019 18:22:41 -0700 by backinblack

V. Automated assembly of bean s

Optional Solutions for Spring Configuration Spring provides great flexibility when describing how spring assembles. It provides three main assembly mechanisms: Explicit configuration in xml Explicit configuration in Java Implicit bean discovery mechanism and automatic assembly. In many scenarios, the choice of configuration depends ...

Posted on Thu, 04 Jul 2019 12:21:04 -0700 by siwelis

J2EE Series Spring 4 Learning Notes (IV) -- IOC Details (Parameter Injection)

In the previous blog, Spring configuration file was used to assign the attributes of the generated object instance. But the attributes of the classes above are all basic types, and in practice, the attributes of the classes may be objects of other classes or collections. This blog describes how to assign class object attributes and collection a ...

Posted on Wed, 26 Jun 2019 10:44:17 -0700 by ntlab

FastDFS Realizes File Upload and Download

When Taotao Mall talked about this, I recalled that Lao Xu asked me to write a document about how to upload and download FastDFS files. At that time, combining our ITOO video system and graduation thesis system, I sorted it out. Based on the knowledge found on the Internet, I summarized something. Here's a share. Introduction to FastDFS ...

Posted on Fri, 14 Jun 2019 18:54:57 -0700 by Revan

Android Studio configuration uses GreenDao3.0

What is GreenDao? GreenDao is an open source database framework that allows you to easily and efficiently manipulate SQLite Database What are the advantages of GreenDao? Maximum performance (probably Android's fastest ORM); our benchmark is also open source Easy to use powerful API s cover relationships and joins Minimum memory consumptio ...

Posted on Sat, 08 Jun 2019 10:43:57 -0700 by urneegrux

Example of UriComponentsBuilder class in Spring

Example of UriComponentsBuilder class in Spring In this article, we mainly introduce the UriComponentsBuilder class in Spring. Let you understand different implementations through multiple examples. The UriComponents Builder builder works with the UriComponents class (immutable URI component container). The UriComponents Build ...

Posted on Fri, 17 May 2019 00:05:10 -0700 by Frame

360 Plug-in Scheme Replugin First Experience

The day before yesterday, I chatted with my friends and mentioned that they would like to build a framework similar to 360 plug-in scheme. The leaders let them know the idea of 360 implementation first, and then I tried it. Replugin is a complete, stable, suitable for full use, occupying pit plug-in program, developed by RePlugin Team of 360 ...

Posted on Thu, 16 May 2019 21:09:36 -0700 by Jago6060