Spring Cloud Constructs Distributed Micro-Service Architecture-commonservice-config Configuration Service Architecture

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. Conceptual mapping on client and server is the same abstraction as Spring Environment and Property Source, so they fit well with S ...

Posted by aromakat on Fri, 27 Sep 2019 02:32:45 -0700

Spring Cloud Tutorial No. 3: feign

The last article described how to consume services through RestTemplate+Ribbon. This article focuses on how to consume services through Feign. Introduction to Feign Feign is a declarative pseudo-Http client that makes it easier to write Http clients. With Feign, you only need to create an interface and annotate it. It has pluggable annotatio ...

Posted by dancing dragon on Wed, 25 Sep 2019 20:57:22 -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

Spring Cloud Tutorial Part 1: Eureka

1. Introduction to spring cloud Spring cloud provides developers with tools to quickly build distributed systems, including configuration management, service discovery, circuit breakers, routing, micro-agents, event bus, global locks, decision campaigns, distributed sessions, and so on.It runs in a simple environment and can run on a developer ...

Posted by curioadmin on Tue, 24 Sep 2019 18:52:16 -0700

Spring Boot Tutorial Part 1: Building Spring Boot Project

brief introduction spring boot is designed to simplify development and open up various automatic assembly. You don't want to write various configuration files, but you can quickly build a web project by introducing related dependencies. It takes a production-ready application perspective and takes precedence over configuration conventions.   ...

Posted by DRTechie on Tue, 24 Sep 2019 05:50:52 -0700

[Maven] [Translation] 1. POM.xml file

I. what is POM? POM is the abbreviation of Project Object Model and the basic unit of Maven's work; POM.xml is an XML file containing information and configuration details about Maven projects, which is used to build projects; it contains default values for most projects; for example, the target fold ...

Posted by common on Mon, 23 Sep 2019 03:52:41 -0700

Tool classes and methods commonly used in Hutool

SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall abstract Hutool is a Java toolkit that helps us simplify every line of code and avoid duplicating wheels. If you need to use some tools and methods, you might as well look in Hutool, it may be. This article will introduce the common tools and methods in H ...

Posted by damdempsel on Sun, 22 Sep 2019 04:19:54 -0700

New features of Java 8 are carefully organized

Preface More and more projects have been used Java 8 No doubt, Java 8 It is the most important version of Java since Java 5 (released in 2004). This version contains more than a dozen new features, including languages, compilers, libraries, tools, and JVM. In this article, we will learn about these new features and illustrate with practical exa ...

Posted by bamse on Sat, 21 Sep 2019 08:14:57 -0700

scala_Akka Concurrent Programming Framework

Article Directory Introduction to Akka Concurrent Programming Framework Introduction to Akka Akka characteristics Akka communication process Create Actor Introduction to API Getting Started Cases Implementation Steps 1. Create Maven modules 2. Create and load Actor s 3. Send/receive messages Akka ...

Posted by Stonewall on Fri, 20 Sep 2019 20:24:53 -0700