Shepherd Advanced Notes
Author

Shepherd Advanced Notes

Dedicated to sharing advanced Java technical insights, daily work snippets, and the power of persistent effort.

127
Articles
0
Likes
403
Views
0
Comments
Recent Articles

Latest from Shepherd Advanced Notes

100 recent articles max
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 21, 2025 · Frontend Development

From Backend to Frontend: Master Vue‑Vben‑Admin for Full‑Stack Development

This guide walks Java backend engineers through discovering, setting up, and extending the Vue‑Vben‑Admin admin scaffold—built with Vue3, TypeScript, and Vite—by mapping its architecture to familiar backend concepts, demonstrating a complete test page, and explaining why the framework accelerates full‑stack skill growth.

AdminBackendFull-Stack
0 likes · 10 min read
From Backend to Frontend: Master Vue‑Vben‑Admin for Full‑Stack Development
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 24, 2025 · Backend Development

Why Choose Spring Boot + DelayQueue for a Custom Distributed Delayed-Task Queue?

The article systematically analyzes common distributed delayed‑task implementations—Redis ZSet scanning, message‑queue delay features, and Redis key‑expiration listeners—highlighting their pros, cons, and suitable scenarios, then proposes a Spring Boot + DelayQueue component to achieve precise timing, dynamic delays, and robust coordination.

DelayQueueKafkaRedis
0 likes · 11 min read
Why Choose Spring Boot + DelayQueue for a Custom Distributed Delayed-Task Queue?
Shepherd Advanced Notes
Shepherd Advanced Notes
Sep 3, 2025 · Backend Development

Deep Dive into Flowable: Core Concepts, Architecture, and Spring Boot Integration

This article explains what a workflow engine is, outlines Flowable’s core architecture and BPMN support, and provides a step‑by‑step Spring Boot integration example—including Maven setup, BPMN model definition, and Java code for starting, submitting, and approving a leave request—while discussing version and archiving recommendations.

BPMNFlowableJava
0 likes · 13 min read
Deep Dive into Flowable: Core Concepts, Architecture, and Spring Boot Integration
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 7, 2025 · Backend Development

From Java 8 Stubbornness to Java 21: My Upgrade Journey and New Language Features

The article walks through the author's personal upgrade from Java 8 to Java 21, comparing preview features, pattern‑matching instanceof, switch expressions, text blocks, the new HTTP client, var inference, virtual threads, records, immutable collections, try‑with‑resources improvements and other enhancements, while rating each feature’s practicality.

JDK21JavaJava8
0 likes · 16 min read
From Java 8 Stubbornness to Java 21: My Upgrade Journey and New Language Features
Shepherd Advanced Notes
Shepherd Advanced Notes
Jul 9, 2025 · Databases

Comprehensive Guide to Fastest Batch Update Techniques in MyBatis

This article systematically compares six MyBatis batch‑update approaches—including simple for‑loop, foreach XML, CASE WHEN, ON DUPLICATE KEY UPDATE, REPLACE INTO, and MyBatis‑Plus—by presenting concrete code, execution‑time measurements on 10 000 rows, and analysis of I/O, SQL parsing, scalability, and database compatibility, ultimately recommending the most performant and maintainable method for different scenarios.

Batch UpdateCASE WHENMyBatis
0 likes · 13 min read
Comprehensive Guide to Fastest Batch Update Techniques in MyBatis
Shepherd Advanced Notes
Shepherd Advanced Notes
Jul 2, 2025 · Fundamentals

45 Tips for Writing Clean, Beautiful Code

This article presents 45 practical coding tips—from naming conventions and formatting to exception handling, thread safety, and design patterns—illustrated with Java examples and real‑world scenarios, helping developers produce readable, maintainable, and robust code.

Best PracticesDesign PatternsThread Safety
0 likes · 29 min read
45 Tips for Writing Clean, Beautiful Code
Shepherd Advanced Notes
Shepherd Advanced Notes
May 15, 2025 · Backend Development

Deep Dive into Spring Boot Parameter Validation: Implementation, Custom Annotations, and Internationalization

This article explains how Spring Boot leverages JSR‑380 for declarative request validation, walks through the internal processing chain from RequestResponseBodyMethodProcessor to Hibernate Validator, and demonstrates building custom annotations for enum checks and conditional field validation while supporting multilingual error messages.

Custom AnnotationHibernate ValidatorJSR-380
0 likes · 11 min read
Deep Dive into Spring Boot Parameter Validation: Implementation, Custom Annotations, and Internationalization
Shepherd Advanced Notes
Shepherd Advanced Notes
May 8, 2025 · Backend Development

Missing Parameter Validation Can Crash a Spring Boot Service – A Complete Guide

A real‑world incident where an unchecked null request parameter caused a full‑table query, massive memory usage and OOM is examined, then Spring Boot’s validation framework—including manual checks, annotation‑driven constraints, nested and group validation, and global exception handling—is demonstrated step‑by‑step with code samples.

BackendJavaSpring Boot
0 likes · 18 min read
Missing Parameter Validation Can Crash a Spring Boot Service – A Complete Guide