Unit test - Junit4+EasyMock build unit test

Unit test (1): spring boot establishes unit test Unit test (2) - Junit4+EasyMock build unit test Unit test (3) - establish multithreaded unit test Add dependency pom.xml <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> &lt ...

Posted by curby on Mon, 09 Dec 2019 11:27:50 +0100

Hadoop configuration under ECS

Article directory Cluster SSH password free login settings Hadoop installation configuration Open port To configure Format HDFS (Master, Slave) Start Hadoop Verify installation succeeded In the previous article, we have discussed how to write hadoop under virtual machine. On this basis, due to the particularity of cloud ...

Posted by silverspy18 on Mon, 09 Dec 2019 05:49:02 +0100

Adroid's custom running lamp (super simple)

I. XML 1. A picture, a text description (what controls are needed to choose by yourself) <!--horse race lamp--> <RelativeLayout android:id="@+id/homepager_RelativeLayout_pao" android:layout_width="match_parent" android:layout_height="@dimen/dp_50" android:layout_below="@+id/homepa ...

Posted by RwpTechAdMin on Sun, 08 Dec 2019 19:13:56 +0100

Android recyclerview + gallerylayoutmanager to achieve advertising Gallery effect

I'm sure you've met the effect of galleries in projects. There are many ways on the Internet, such as viewPager, recyclerview and so on. Today, we recommend a three-party Gallery layoutmanager, which is easy to realize quickly and solve the urgent problem. rely on gradle dependence compile 'github.hellocsl:GalleryLayoutManager:1.0.6' Realiza ...

Posted by Kaitosoto on Sun, 08 Dec 2019 06:54:45 +0100

Spring cloud learning - Eureka registry

[TOC] 1.1 what is Eureka When developing large-scale projects, service providers and service callers will be very large, and the cost of managing services will increase exponentially. Eureka will be responsible for service registration, discovery and status monitoring. 1. Registration: Eureka is responsible for managing and recording the inform ...

Posted by whmeeske on Sat, 07 Dec 2019 19:49:11 +0100

Learning Notes - Getting Started with Spring MVC

Overview of MVC In the early development of Java Web, the operations of display layer, control layer and data layer were all handled by higher JSP or JavaBean, which was called Model1: malpractice There is a strong coupling between JSP and Java Bean, and Java and HTML code are also coupled together Requires that developers not only master Ja ...

Posted by juliston on Sat, 07 Dec 2019 15:41:45 +0100

groovy program structure

Definition package The definition of a package is the same as in Java: // defining a package named com.yoursite package com.yoursite Import package 1.Import package //After the class name in the package is imported, you can directly use the class name without adding the limited name // importing the class MarkupBuilder impo ...

Posted by keenlearner on Sat, 07 Dec 2019 13:09:15 +0100

Android uses fragment ation to implement the bottom title bar (Github template open source)

In Android development, a very important layout is the bottom Title bar. With the bottom Title bar, we have the framework of the whole software UI development. Generally speaking, the layout of the whole software starts from the bottom Title bar, then other modules are written to form a complete software, so how can we write a bottom label?Titl ...

Posted by Noctule on Sat, 07 Dec 2019 12:50:30 +0100

Qt Writing Gas Safety Management System 26-Configuration Design

1. Preface Configuration design is added at the request of a customer. The design concept is to provide a primary function of configuration design, such as reading the custom control dynamic library, loading all the controls into the control bar (somewhat like the qtcreator's control bar) Users drag the corresponding controls onto the canvas, a ...

Posted by az_wraith on Sat, 07 Dec 2019 00:30:00 +0100

SpringBoot Source Text: Deep analysis of how SpringBoot eliminates web.xml

1. Preface Start with this blog post and officially start the Spring and SpringBoot Source Analysis journey.This may be a long process, because I have read the source code before is very one-sided, Spring source does not have a systematic understanding.From the beginning of this article, I will keep updating and strive to have a systematic und ...

Posted by xeelee on Fri, 06 Dec 2019 12:36:19 +0100