Automatic generation of java test mock object framework DataFactory-01-getting Started tutorial

Project brief introduction Data-Factory It is used to generate initialization information randomly and automatically according to the object, which avoids the tedious of creating the object manually and is easy to test. Characteristic 8 basic types of support String, Date, amount, Date and other common types of support Java 8 common time class ...

Posted by kovudalion on Tue, 03 Dec 2019 02:12:12 -0800

luminus web framework learning

Chapter one your first program Because I am a mac computer, I am temporarily based on my operation (clojure is not friendly to windows, jdk and maven data are too many, so I will not introduce the installation method here) First, use brew install leiningen and brew install clojure to install lein and clojure Lei is like the familiar clojure ...

Posted by suge on Mon, 02 Dec 2019 23:41:56 -0800

Using IO stream to write files

Preface When it is necessary to operate on files, it is inevitable to use IO flow; for example, some contents in the response results of some requests need to be stored in the business. When the file to be processed is too large, if you close the file stream frequently, it will cause a lot of overhead. When do you close it? It often causes grea ...

Posted by SkyRanger on Mon, 02 Dec 2019 09:16:12 -0800

About the use of gson Library

The communication carrier between different programs, using json is a more convenient format, of course, the advantages of this format can be found at night, if speaking of the disadvantages, it may be all string transmission, the efficiency is not so high, but for general development programs, especially for Internet programs, more than enoug ...

Posted by jimmyborofan on Mon, 02 Dec 2019 03:16:30 -0800

spring boot+mybatis building project

I. create the spring boot project 1.File->New->Project image.png 2. Select Spring Initializr, then select the default url and click [Next]: 2.jpg 3. Modify project information 3.jpg 4. Select the template of the project 4.jpg 5.jpg 5. Fill in Project name and project location, and then click Fin ...

Posted by guru2k9 on Sun, 01 Dec 2019 06:13:00 -0800

Spring boot integrates Druid data connection pool

Spring boot integrates Druid data connection pool What is Druid? Druid is Alibaba's open source database connection pool. Druid can provide powerful monitoring and extension functions. Where to download druid maven central warehouse: http://central.maven.org/maven2/com/alibaba/druid/ How to get the source code of Druid Druid is an open source p ...

Posted by NTFS on Sat, 30 Nov 2019 10:25:55 -0800

Introduction to SpringBoot+Redis

This blog Uncle cat's blog , reprint please state the sourceThis series of tutorials is HMStrange project Incidental. Historical articles How to install the latest version of CentOS 7.6 in VMware 12 CentOS 7.6 install Java8 Centos7.6 install MySQL+Redis (latest version) Getting started with SpringBoot+MySQL+MyBatis Tutorial content Note: thi ...

Posted by beselabios on Fri, 29 Nov 2019 12:39:27 -0800

Integrate spring cloud service architecture - commonservice-config configuration service setup

introduce Spring Cloud Config provides server and client support for external configuration in distributed systems.With Config Server, you can manage the external properties of your application in all environments.The concept mappings on the client and server are the same as the abstractions of Spring Environment and ProertySource, so they f ...

Posted by papapax on Wed, 27 Nov 2019 15:12:24 -0800

Spring cloud uses feign consumer service and uses hystrix to fuse

Spring cloud uses feign consumer service and uses hystrix to fuse Service consumption (create a feign project and use hystrix) Project screenshots configuration file Code Monitor configuration file Code Operation and verification Startup service Monitoring service Connection address Service consumption (create a fe ...

Posted by Immortal55 on Wed, 27 Nov 2019 08:05:56 -0800

The project of building springboot by eclipse

Record a spring boot experience springboot project creation Here's a way to share it with other bloggers https://blog.csdn.net/mousede/article/details/81285693 directory structure       Next, write a startup class Startup class: SpringBootDemoApplication      package com.start; import org.mybatis.spring.annotation.MapperScan; im ...

Posted by sarika on Wed, 27 Nov 2019 06:19:01 -0800