You can't miss the Ridio Button practice

Preface The last "homework" for you to log in and register believe that the small partners according to our demo have been completed, then this article we continue to talk about some of the main functions encountered in the actual combat, not to mention more, let's enter today's body link!!! scene Radio Button radio button is widely u ...

Added by webmasternovis on Wed, 21 Aug 2019 18:16:11 +0300

JMH tests the performance of AtomicLong and LongAdder

The difference between AtomicLong and Long Adder AtomicLong 1. AtomicLong uses the underlying CAS operations to provide concurrency.2. In the environment of low concurrency, the probability of thread collision is relatively small, and the number of spins is not much. However, in high concurrent environment, N threads spin simultaneously, which ...

Added by Varma69 on Wed, 21 Aug 2019 14:14:55 +0300

BeanFactory.getBean of Srping Source

This article is about source parsing for Srping's BeanFactory.getBean. If this is your first look, first look at XMLBeanFactory parsing: https://blog.csdn.net/qq_3025... To better understand Spring's registration principles, this blog is a step-by-step look at how spring implements getBean source code. Spring version is 5.X. The source code has ...

Added by plugnz on Wed, 21 Aug 2019 06:01:12 +0300

What is ActiveMQ for your girlfriend?

1 ActiveMQ ActiveMQ is a message middleware. There are many open source products of message middleware on the market, such as RocketMQ, RabbitMQ, Kafka and so on. To take a simple analogy, message middleware is a transit station, adding a transit station in the program, with such a storage site similar to express delivery, can greatly reduce th ...

Added by andy_b42 on Tue, 20 Aug 2019 12:30:22 +0300

IOC Annotation Development in Spring

Initial Exploration of IOC Annotation Development First, after spring 4, to use annotation form, you must introduce aop packages and a context constraint in the configuration file http://www.springframework.org/schema/context http://www.springf ...

Added by Boxerman on Mon, 19 Aug 2019 09:46:36 +0300

Android Custom Controls: Take you to a multi-effect intelligent loadingView

Let's start with the effect map (see the explanation later if you are interested in it): 1. Display of login effect 2. Pay attention to effect demonstration 1. [Drawing rounded rectangle] Drawing begins with the onDraw method (I'll write the circle code, step by step). First, define an attribute in the view: private R ...

Added by richardandrewle on Mon, 19 Aug 2019 09:14:51 +0300

xml module of Python stack-wide road Standard Library Series

Python's interfaces for processing XML are grouped in the xml package. A delimited file has only two dimensions of data: rows and columns. If you want to exchange data structures between programs, you need a way to encode hierarchies, sequences, co ...

Added by jabbaonthedais on Mon, 19 Aug 2019 09:12:05 +0300

kubernetes microservice expansion and release of new functional versions

Microservices do not need to be an independent function or resource like ordinary services. It is perfectly correct to say in the definition that microservices need to match business capabilities. Unfortunately, it still means that if the granularity design of the capability model is wrong, then we have to pay a lot of price. If you read Fowle ...

Added by lordgreg on Sat, 17 Aug 2019 18:17:09 +0300

Single-machine distributed, pseudo-distributed and fully distributed hadoop

1. Haoop Single Computer Distribution 1. Establish hadoop user and set hadoop user password [root@server1 ~]# ls hadoop-3.0.3.tar.gz jdk-8u181-linux-x64.tar.gz [root@server1 ~]# useradd hadoop [root@server1 ~]# id hadoop uid=1000(hadoop) gid=1000(ha ...

Added by tidou on Sat, 17 Aug 2019 11:21:07 +0300

Spring IOC Source Parsing

Note that it takes a long, long time to read this article. This article is about Spring IOC Source Parsing (Part I) In the sequel, the previous article introduced how to start Spring using XML, and then tracked the creation of Bean Factory containers, the parsing of configuration files, the registration of beans, and so on. 12. finishBeanFactor ...

Added by g00bster on Fri, 16 Aug 2019 12:24:17 +0300