Fading Coder

One Final Commit for the Last Sprint

Intelligent Apartment Management System with Spring Boot and Vue

System CapabilitiesAuthentication & Authorization (Sign In, Sign Up)Profile ManagementAmenity and Facility TrackingRental Agreement AdministrationTenant Record ManagementFinancial and Billing OperationsProperty Listing ManagementTechnology StackBackend Framework: Spring Boot (or traditional SSM...

Bootstrapping a Spring Boot Project with MyBatis in IntelliJ IDEA

Start by generating a new project using IntelliJ's Spring Initializr wizard. Choose the following dependencies: Spring Web, Thymeleaf, MySQL Driver, JDBC API, and MyBatis Framework. Finish the wizard and open the project in a new window. Add database and MyBatis configuration in src/main/resources/a...

Spring Boot Interceptors: Implementation and Source Code Analysis

This article delves into the implementation and underlying source code of Spring Boot interceptors, examining their role in request processing. We'll explore how to configure and utilize them, and trace their execution flow from request reception to response generation. Configuring Interceptors To i...

Implementing Distributed Configuration Management with Spring Boot

1. What Is Distributed Configuraton Management? In distributed systems, configuration management plays a critical role. It involves managing and centrally storing application configuration data such as database connection strings, service ports, and logging levels. Traditional approaches often suffe...

Building Microservices with Spring Boot and Service Discovery

Microservices Architecture Overview Microservices architecture structures an application as a collection of loosely coupled services, where each service implements a specific business capability and can be developed, deployed, and scaled independently. Spring Boot provides comprehensive support for...

Spring Boot Version Compatibility with Apache Tomcat

Spring Boot 1.5 applications are compatible with both Tomcat 7 and Tomcat 8. However, Spring Boot 2.0 applications require Tomcat 8 or later and will fail to start on Tomcat 7. Both versions require Java 8 as the runtime enviroment. Spring Boot 1.5 Configuration <?xml version="1.0" enco...

Handling HttpMessageNotReadableException in Spring Boot APIs

HttpMessageNotReadableException surfaces whenever Spring fails to translate an incoming request payload into a Java instance, most often via the @RequestBody mechanism. Typical triggers include: Empty Body: A controller method declares @RequestBody but the client omits the payload entirely. Invalid...

Building a Fire Safety Education Site with SSM, JSP, and Vue

Application Startup and Configuration The entry point leverages Spring Boot’s auto-configuraton and MyBatis mapper scanning. The main class extends SpringBootServletInitializer to support traditional WAR deployment: package com.platform; import org.mybatis.spring.annotation.MapperScan; import org.sp...

Integrating Kafka and Storm with Spring Boot

Kafka and Storm Overview If you are familiar with Kafka and Storm, you can skip this section. If not, you can refer to my previous blog posts. Environment Setup for Kafka and Storm Link: http://www.panchengming.com/2018/01/26/pancm70/ Usage of Kafka Link: http://www.panchengming.com/2018/01/28/pancm...

Building a Custom Spring Boot Starter for Global API Encryption

Spring Boot Starters simplify dependency management and configuration by bundling related libraries into cohesive modules. Creating custom starters enables teams to standardize cross-cutting concerns like security, logging, and data transformation across distributed systems. Auto-Configuration Funda...