SLES15SP1 AutoYast-PXE Technology

Since we've been working on several Ceph projects recently, basically 50 nodes, we often use PXE technology in our projects to automate system installation and improve efficiency. It might be said that PXE technology is too old to understand, but I think it's very useful, especially in project-based projects.So today's experiment is to deploy t ...

Posted by pabs1983 on Sat, 28 Sep 2019 06:57:58 -0700

Spring 5 Source Deep Parsing - - - Application Context Container refresh process

In previous blogs, we have been analyzing the BeanFactory interface and its default implementation class XmlBeanFactory, but Spring also provides another interface, ApplicationContext, to extend existing functions in BeanFactory. Both ApplicationContext and BeanFactory are used to load beans, but in contrast, ApplicationContext provides more ex ...

Posted by sweetmaster on Fri, 27 Sep 2019 01:43:47 -0700

A Simple Example of Spring Dependency Injection (DI)

What is Control Inversion and Dependency Injection The full English name of Inversion of Control is IoC. It makes it possible to form a loosely coupled structure between program components and classes. Developers need to create instances of objects before using instances of classes. But IoC entrusts ...

Posted by gerry123 on Thu, 26 Sep 2019 02:11:50 -0700

[java] Spring Framework -- Injection

We have three purposes for this time: 1. Set up Bean Factory (context, container); 2. Ability to inject Bean members; 3. Bean s can be obtained; Bean, also known as JavaBean, or POJO, is a trivial Java class. Organizing these trivial Java class objects into a container forms a so-called "co ...

Posted by Fawkman on Thu, 26 Sep 2019 00:57:57 -0700

Pin Spring: The Foundation of Empire

order Life is a glass of wine, sometimes you need to anesthetize yourself, in order to temporarily forget the pain and unhappiness.Life is a cup of tea. Sometimes we need to savor it carefully before we find that there is sweetness behind the bitterness and astringency.Spring is a glass of wine, an official document that can't be seen at a gla ...

Posted by larryg on Thu, 26 Sep 2019 00:56:38 -0700

SpringBoot Integration Nacos Registry

What is Nacos Nacos is Alibaba's open source project, and Nacos is dedicated to helping you discover, configure, and manage microservices.Nacos provides an easy-to-use set of features to help you quickly implement dynamic service discovery, service configuration, service metadata, and traffic management.Nacos helps you build, deliver, and manag ...

Posted by Daijoubu on Wed, 25 Sep 2019 19:25:11 -0700

SpringCloud Tutorial Part 2: Ribbon

In the previous article, we talked about registering and discovering services.In the microservice architecture, services are split into separate services, and the communication between services is based on http restful.Spring cloud has two ways of invoking services, ribbon+restTemplate and feign.This article starts with ribbon+rest. 1. Introd ...

Posted by @sh on Wed, 25 Sep 2019 18:56:46 -0700

Fully Distributed Cluster of Hadoop

Cluster environment: centOs6.8: hadoop102,hadoop103,hadoop104 JDK version: jdk1.8.0_144 hadoop version: Hadoop 2.7.2 First, prepare three clients (hadoop 102, Hadoop 103, Hadoop 104), close the firewall, and modify them to static ip and ip address mapping. Configuration cluster Writing Cluster Distribution Scripts Create a remote synchro ...

Posted by mcbeckel on Wed, 25 Sep 2019 04:17:21 -0700

Dubbo consumer catches custom exceptions thrown by service provider provider

Define an exception class in a common package that inherits from RuntimeException. public class BusinessException extends RuntimeException { /** * Abnormal code */ private String code; public BusinessException() { super(); } public BusinessException(String message) { super(message); ...

Posted by echo64 on Wed, 25 Sep 2019 00:58:17 -0700

From Shallow to Deep, Explain the Detailed Use of spring Actual Warfare - spring Source Chapter

First of all, this article will not go deep into the underlying source code in detail, just based on annotations and configuration to talk about the use of spring, don't underestimate the basis, to ensure that you have unused annotations and configuration, go. Let's start with a maven project, introducing spring files, which you don't like to d ...

Posted by daveyboy on Tue, 24 Sep 2019 20:42:37 -0700