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
May 9, 2024 · Backend Development

How Many Simultaneous Requests Can SpringBoot Handle?

The article explains that SpringBoot’s request capacity is governed by Tomcat’s thread pool and connection settings, derives the formula max‑connections + accept‑count, demonstrates it with a small‑scale experiment, and discusses related concurrency pitfalls in singleton beans.

concurrencyrequest-limitingspringboot
0 likes · 8 min read
How Many Simultaneous Requests Can SpringBoot Handle?
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 29, 2024 · Backend Development

How to Implement Dynamic, Configurable Data Desensitization in Spring Boot

This article walks through a Spring Boot solution for dynamically masking sensitive user data—such as names, ID numbers, phone numbers, and custom fields—by defining custom annotations, a configurable rule engine, a Redis‑backed context holder, and a Jackson serializer that applies masking at JSON serialization time, all while keeping performance overhead low.

HutoolJavabackend
0 likes · 24 min read
How to Implement Dynamic, Configurable Data Desensitization in Spring Boot
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 11, 2024 · Backend Development

How Spring Event Elegantly Decouples Business Logic: Principles, Usage, and Pitfalls

This article explains how Spring Event provides a publish‑subscribe mechanism to decouple Spring components, details its default synchronous behavior, shows how to make listeners asynchronous, demonstrates ordering and error handling, compares it with message‑queue solutions, and offers practical guidelines for safe usage.

SpringSpring Bootapplicationlistener
0 likes · 22 min read
How Spring Event Elegantly Decouples Business Logic: Principles, Usage, and Pitfalls
Shepherd Advanced Notes
Shepherd Advanced Notes
Apr 3, 2024 · Frontend Development

Vue Template Syntax: Interpolation and Directives Explained

This article explains Vue.js template syntax, covering how interpolation with double curly braces inserts data, the role of directives like v-bind, v-model, and v-on, shorthand notations, event modifiers, and the use of dynamic arguments introduced in Vue 2.6.0, all illustrated with concrete code examples.

DirectivesDynamic ArgumentsFrontend
0 likes · 12 min read
Vue Template Syntax: Interpolation and Directives Explained
Shepherd Advanced Notes
Shepherd Advanced Notes
Mar 24, 2024 · Frontend Development

Getting Started with Vue: What Is Vue and How to Install It

This article introduces Vue as a progressive JavaScript framework, explains its core features such as reactive data binding, component‑based development, and virtual DOM, and walks through installation methods, a simple counter example, and a brief comparison with React and Angular.

ComparisonComponentFrontend
0 likes · 8 min read
Getting Started with Vue: What Is Vue and How to Install It
Shepherd Advanced Notes
Shepherd Advanced Notes
Jan 5, 2024 · Fundamentals

Master Java Collections: Avoid Common Pitfalls in Real-World Development

This article provides a comprehensive overview of the Java Collections Framework, explains frequent mistakes such as modifying collections during iteration or using toMap with null values, and introduces practical utility libraries like Hutool, Apache Commons Collections, and Guava to help developers write safer and more efficient code.

Apache CommonsCollectionsGuava
0 likes · 16 min read
Master Java Collections: Avoid Common Pitfalls in Real-World Development
Shepherd Advanced Notes
Shepherd Advanced Notes
Nov 29, 2023 · Databases

Why MyBatis-Flex Shines Among the Flood of New ORM Frameworks

The article provides a detailed technical comparison of MyBatis-Flex with MyBatis-Plus and Fluent-MyBatis, covering feature matrices, code examples for basic queries, aggregation, complex conditions, multi‑table joins, partial updates, and a step‑by‑step Spring Boot integration guide, before concluding on its maturity and suitability for production.

Fluent-MyBatisJavaMyBatis-Flex
0 likes · 17 min read
Why MyBatis-Flex Shines Among the Flood of New ORM Frameworks