An Overview of Spring SPI Mechanism

An Overview of Spring SPI Mechanism

This article introduces the SPI mechanism in Spring. abstract.png Basic Practice Spring SPI draws on the design philosophy of Java SPI. It implements the SPI mechanism through the spring.factories method, providing extensibility to the framework without modifying its source code. Specifically, we first define an SPI interface. package com.aaron.application.SpringSpi.BasicSpiDemo; public interface Greet { void hello(); … Read more

Fault Injection Strategy: An Elegant Java Approach

Fault Injection Strategy: An Elegant Java Approach

Fault Injection Strategy: Making Fault Injection Elegant Essential knowledge points from beginner to advanced Hello everyone, I am flourishing. Recently, while conducting system fault tolerance testing, I encountered a frustrating problem: how to simulate various fault scenarios without affecting the normal code? Traditional testing methods often require modifying the source code, which not only easily … Read more

Integrating MQTT in RuoYi Frontend and Backend Separation

Integrating MQTT in RuoYi Frontend and Backend Separation

What to do when you encounter difficulties during development? Supports text and voice direct conversations 👇 Highly recommended 👇 24h online assistant Recent Popular Articles: 🔥Integrating UReport2 in RuoYi Frontend and Backend Separation (154) 🔥Integrating MyBatis-Plus-Ext Tutorial in RuoYi Separation Version (153) 🔥Integrating Electron to Achieve Desktop Applications in RuoYi Separation Version (139) 🔥Upgrading Spring … Read more

Understanding SPI Mechanism in Java

Understanding SPI Mechanism in Java

Having memorized a lot of stock responses, I believe everyone has heard the term SPI Extension. Some interviewers really like to ask this question: How is Spring Boot’s auto-configuration implemented? Basically, if you mention that it is based on Spring’s SPI extension mechanism and bring up the spring.factories file and EnableAutoConfiguration, then you are likely … Read more

Understanding SPI Mechanisms in Java, Spring, and Dubbo

Understanding SPI Mechanisms in Java, Spring, and Dubbo

Hello everyone, I am Su San~~ Today I would like to discuss the SPI mechanisms of Java, Spring, and Dubbo, focusing on their principles and differences. Actually, I have previously written a similar article, but that one mainly analyzed the source code of Dubbo’s SPI mechanism, only briefly introducing the SPI mechanisms of Java and … Read more

Understanding SPI Mechanisms in Java, Spring, and Dubbo

Understanding SPI Mechanisms in Java, Spring, and Dubbo

Click on the “Yudao Source Code“, and select “Set as Favorite” What about the previous wave or the latter wave? The waves that can surf are the good waves! Every day 10:33 updates articles, losing a little bit of hair every day… Quality Source Code Column Original | Java 2021 Super God Road, very intense~ … Read more

What Is the Principle of SPI in Meituan?

What Is the Principle of SPI in Meituan?

👉 This might be useful for you community 🐱 One-on-one communication/interview booklet/resume optimization/job hunting advice, welcome to join “Yudao Rapid Development Platform” knowledge planet. Below are some materials provided by the planet: “Project Practice (Video)”: Learn from the book, practice in the project“Practice” “High-Frequency Interview Questions in the Internet”: Learning from resumes, spring blossoms “Architecture … Read more

Spring Boot IoT Practice: Easy CoAP Protocol Integration

Spring Boot IoT Practice: Easy CoAP Protocol Integration

WeChat Official Account: Jiu Geek Welcome to star and follow Jiu Geek, let’s discuss technology and architecture together! Your likes, favorites, and comments are very important. If this article helps you, please share and support, thank you! With the development of the Internet of Things (IoT), lightweight communication protocols have become increasingly important. The Constrained … Read more

Quick Start Guide to MQTT and EMQ

Quick Start Guide to MQTT and EMQ

MQTT and EMQ 1. IoT Messaging Protocol MQTT 1.1. Introduction to MQTT MQTT (Message Queuing Telemetry Transport) is a “lightweight” communication protocol based on the publish/subscribe model. Client Server An application or device using the MQTT protocol, which always establishes a network connection to the server. Clients can: Also known as a “Message Broker”, it … Read more

Building a Java IoT Platform: Smart Connections

Building a Java IoT Platform: Smart Connections

Building a Java IoT Platform: Smart Connections The Internet of Things (IoT) is incredibly hot these days! More and more devices need to be connected, from smart home appliances to industrial equipment. Today, we will build a simple IoT platform using Java, allowing you to easily manage the connection and control of smart devices. It’s … Read more