Shepherd Advanced Notes
Author

Shepherd Advanced Notes

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

122
Articles
0
Likes
0
Views
0
Comments
Recent Articles

Latest from Shepherd Advanced Notes

100 recent articles max
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 17, 2023 · Backend Development

Master MyBatis-Plus Advanced Features: Batch Insert, Logical Delete, Auto Fill, Type Handler, Dynamic Tables and More

This tutorial walks through MyBatis-Plus's advanced capabilities—including high‑performance batch inserts, logical deletion with global config, automatic timestamp and user fields via MetaObjectHandler, JSON type handling, dynamic table name resolution, and multi‑tenant support—showing concrete code, configuration, and benchmark results for each feature.

Auto FillBatch InsertDynamic Table
0 likes · 17 min read
Master MyBatis-Plus Advanced Features: Batch Insert, Logical Delete, Auto Fill, Type Handler, Dynamic Tables and More
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 10, 2023 · Backend Development

Comprehensive Beginner’s Guide to MyBatis-Plus with Spring Boot

This article introduces MyBatis-Plus, outlines its non‑intrusive features and CRUD enhancements, walks through integrating it with a Spring Boot project, demonstrates entity, mapper and service definitions, explains common annotations, showcases the powerful Wrapper condition builder, and covers pagination configuration for everyday backend development.

CRUDJavaMyBatis-Plus
0 likes · 24 min read
Comprehensive Beginner’s Guide to MyBatis-Plus with Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 1, 2023 · Backend Development

Implementing a Dynamic AOP Log Aspect for Unified API Parameter Logging in Spring Boot

The article explains why logging API request and response parameters is essential for debugging, shows how to configure environment‑ and interface‑level switches, defines a simple @ApiLog annotation, implements an AOP aspect that records request details and response results, and demonstrates separating logs via Logback configuration while noting performance considerations.

AOPApiLogAspectJ
0 likes · 15 min read
Implementing a Dynamic AOP Log Aspect for Unified API Parameter Logging in Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 19, 2023 · Fundamentals

Master Mac IntelliJ IDEA: Complete Shortcut Guide

This article provides a comprehensive reference of Mac keyboard symbols and modifier keys followed by an exhaustive list of IntelliJ IDEA shortcuts on macOS, covering editing, search/replace, navigation, debugging, refactoring, version control, live templates, and general actions to boost developer productivity.

IDEIntelliJ IDEAMac shortcuts
0 likes · 12 min read
Master Mac IntelliJ IDEA: Complete Shortcut Guide
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 16, 2023 · Backend Development

How to Elegantly Implement Dynamic, Configurable, High‑Performance Data Desensitization in Spring Boot

The article explains why user privacy data must be masked, then walks through a Spring Boot solution that uses custom annotations, an aspect‑oriented filter, a contextual serializer and a flexible rule engine stored in Redis to achieve dynamic, high‑performance data desensitization without polluting business logic.

JavaSpring Bootcustom-annotation
0 likes · 18 min read
How to Elegantly Implement Dynamic, Configurable, High‑Performance Data Desensitization in Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 12, 2023 · Backend Development

Using Zookeeper for Middleware: Implementing Distributed Locks and Service Registry in Spring Boot

This article explains Zookeeper's role as an open‑source distributed coordination service, covering its observer‑pattern design, data model, installation (single‑node and cluster), leader election, watcher mechanism, and demonstrates how to integrate Zookeeper as a service registry and distributed lock in Spring Boot using Curator, complete with code examples.

Distributed LockLeader ElectionService Registry
0 likes · 25 min read
Using Zookeeper for Middleware: Implementing Distributed Locks and Service Registry in Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 10, 2023 · Backend Development

Master 16 SpringBoot Extension Interfaces for Cleaner, More Elegant Code

This article enumerates and explains sixteen Spring and SpringBoot extension interfaces, illustrates their positions in the bean lifecycle with a call‑order diagram, and provides concrete usage scenarios and code samples so developers can harness these hooks to write more elegant and maintainable applications.

Bean LifecycleDependency InjectionSpring
0 likes · 19 min read
Master 16 SpringBoot Extension Interfaces for Cleaner, More Elegant Code
Shepherd Advanced Notes
Shepherd Advanced Notes
Sep 29, 2023 · Backend Development

How to Cut API Latency from 5 s to 0.5 s with CompletableFuture Async Optimizations

The article explains how to dramatically reduce the response time of an API that must call multiple downstream services by converting serial calls into parallel ones using Java 8's CompletableFuture, covering its relationship to Future, core APIs, task composition, exception handling, and practical best‑practice recommendations.

CompletableFutureJava 8asynchronous programming
0 likes · 20 min read
How to Cut API Latency from 5 s to 0.5 s with CompletableFuture Async Optimizations