Simple IOC container implementation

Preface This article is written to learn the execution process of the Spring IOC container. It can't fully represent the Spring IOC container, but simply implements the dependency injection and control inversion functions of the container, which can't be used in production. It can only play a certain role in understanding the Spring container. ...

Posted by ExpendableDecoy on Mon, 10 Feb 2020 05:03:49 -0800

idea quickly set up spring cloud registration center and registration

Fast setup of spring cloud Spring Cloud is a microservice framework, which is based on spring boot, a complete set of distributed system solutions provided by Spring Cloud.   First, we use gradle to create: Select JDK and check Java, then next Package name already has project name. Next step: Select our local gradle package and continue ...

Posted by mattd8752 on Sun, 09 Feb 2020 10:59:08 -0800

How do I import the system UI to Android studio step by step

Next, I will introduce the system UI to Android studio step by step. Modify the code of the relevant modules of the system. If it's a small modification, it's OK. If it needs more changes, it's best to import the source code into Android studio to modify. The modification efficiency will be improved ...

Posted by deadlyp99 on Tue, 04 Feb 2020 05:44:56 -0800

Jenkins+Ansible installation and deployment

1, Environmental description Operating system: CentOS 7.5 x86 ʄ JAVA version: jdk-8u181 Jenkins version: jenkins-2.134 Ansible version: ansible-2.3.3.0 2, Preparation before configuration # systemctl disable firewalld.service # systemctl stop firewalld.service # sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/ ...

Posted by gnawz on Fri, 31 Jan 2020 09:37:23 -0800

Android native integration React Native

1. Create an empty directory RNDemo 2. Create a subdirectory android in RNDemo 3. Copy the android project to the subdirectory android, as shown in the project structure below. 4. Create the package.json file in RNDemo and add the following contents: { "name": "MyReactNativeApp", "version": "0.0.1", "private": true, "s ...

Posted by Minase on Fri, 31 Jan 2020 09:33:06 -0800

AOP of architecture design of centralized landing architecture based on aspect oriented idea

1, Before you start: Centralized login architecture design: this login is not a login request, but a judgment of whether the current login status is available. If it is not, skip the login interface; otherwise, perform the corresponding skip logic. This business is a global business, and the global b ...

Posted by keystroke on Thu, 30 Jan 2020 22:50:33 -0800

Setting up Kafka-0.10.2 source reading environment and running Windows locally

Setting up Kafka-0.10.2 source reading environment and running Windows locally Version information 2. Building Kafka Source Environment 3. Configuring Kafka Source Environment Build a bin package Version information Kafka: 0.10.2,Scala: 2.10.6,Java: 1.8.0_221,IntelliJ IDEA: 2019.2,Zookeeper: 3.4 ...

Posted by crazydip on Thu, 30 Jan 2020 18:23:30 -0800

SpringBoot LDAP user authentication operation

Opening word This guide will guide you through the creation of the Spring Security Application protected by LDAP module.   Apps you will create We will create a simple Web application protected by Spring Security's embedded Java LDAP server. We will load the LDAP server with a data file that contain ...

Posted by dgoosens on Sun, 26 Jan 2020 02:56:04 -0800

Hand rolling an annotation frame

Runtime annotation is mainly implemented by reflection, while compile time annotation helps us to generate code during compilation, so compile time annotation is efficient, but it is a little more complex to implement. Runtime annotation is inefficient, but it is simple to implement. Let's first look at ...

Posted by dleone on Fri, 17 Jan 2020 21:03:12 -0800

Simple use of AspectJ in AOP

Personal blog http://www.milovetingting.cn Simple use of AspectJ in AOP Definition of AOP AOP is the abbreviation of Aspect Oriented Programming, which means: a technology to realize the unified maintenance of program functions through precompiling and dynamic agent during operation. The above definition of AOP is quoted from Baidu Encyclope ...

Posted by Delcypher on Mon, 13 Jan 2020 02:43:50 -0800