CodeSmart Hoops
Author

CodeSmart Hoops

A working programmer who loves coding and basketball. By day I debug code; by night I dissect tactics. I write articles to document my journey, focusing on Java, AI, Python and other programming topics, with occasional posts about basketball, English, and books. Hope it's helpful—thanks for following and support.

27
Articles
0
Likes
18
Views
0
Comments
Recent Articles

Latest from CodeSmart Hoops

27 recent articles
CodeSmart Hoops
CodeSmart Hoops
Jul 24, 2026 · Backend Development

Hands‑On Unit Testing of Spring Boot Actuator Health Checks

This guide walks through setting up Spring Boot 3.x with JDK 17+, adding Actuator and test dependencies, and implementing a comprehensive JUnit 5 test suite that validates health endpoint aggregation, status priority, show‑details configuration, custom endpoints, JVM metrics, endpoint exposure, health groups, and custom HTTP status mapping, with instructions for running the tests via Maven or an IDE.

ActuatorHealth CheckJUnit5
0 likes · 17 min read
Hands‑On Unit Testing of Spring Boot Actuator Health Checks
CodeSmart Hoops
CodeSmart Hoops
Jul 21, 2026 · Backend Development

Hands‑On Unit Tests for Spring Boot Auto‑Configuration (Full Deep Dive)

This article provides a step‑by‑step guide to testing Spring Boot 3.x auto‑configuration with JUnit 5 and ApplicationContextRunner, covering SpringFactoriesLoader loading, conditional annotation filtering, user‑defined bean overrides, exclusion mechanisms, and the new .imports file format, plus Maven and IDE run instructions.

ApplicationContextRunnerAuto‑ConfigurationConditionalOnMissingBean
0 likes · 13 min read
Hands‑On Unit Tests for Spring Boot Auto‑Configuration (Full Deep Dive)
CodeSmart Hoops
CodeSmart Hoops
Jul 19, 2026 · Interview Experience

Test Your Grafana Knowledge: 8 Interview Questions with Answers

This article provides a comprehensive Grafana guide covering core concepts, dashboard design principles, panel types, variable templating, alerting strategies, provisioning as code, high‑availability setup, and a multi‑region monitoring screen design, each illustrated with concrete examples and configuration snippets.

DashboardPrometheusalerting
0 likes · 26 min read
Test Your Grafana Knowledge: 8 Interview Questions with Answers
CodeSmart Hoops
CodeSmart Hoops
Jul 10, 2026 · Cloud Native

Prometheus Deep Dive: The De Facto Standard for Cloud‑Native Monitoring

The article walks through a real‑world migration from Zabbix to Prometheus, explaining its pull‑based design, metric model, PromQL language, service discovery options, remote storage choices, alerting with Alertmanager, and a complete Spring Boot integration, while highlighting best‑practice recommendations and common pitfalls.

AlertmanagerCloud NativePromQL
0 likes · 34 min read
Prometheus Deep Dive: The De Facto Standard for Cloud‑Native Monitoring
CodeSmart Hoops
CodeSmart Hoops
Jun 29, 2026 · Fundamentals

Essential Git Commands Cheat Sheet for Every Scenario

This comprehensive Git manual walks you through initialization, daily workflow, branch management, remote operations, tag handling, undo/recovery, stash usage, advanced features like LFS and submodules, collaboration workflows, performance tuning, common pitfalls, shortcut aliases, core principles, and recommended version upgrades, providing concrete commands, examples, and best‑practice guidelines.

Best Practicescommand-linegit
0 likes · 21 min read
Essential Git Commands Cheat Sheet for Every Scenario
CodeSmart Hoops
CodeSmart Hoops
Jun 22, 2026 · Backend Development

MyBatis-Plus Interview Self-Test: Full Core Analysis and Pitfall Checklist

This article presents a comprehensive interview self‑test for MyBatis‑Plus, covering its relationship with MyBatis, BaseMapper CRUD implementation, SqlMethod and AbstractMethod roles, MapperProxy interception, LambdaQueryWrapper type safety, Wrapper condition handling, interceptor chain, pagination mechanisms, logical delete rewriting, MetaObjectHandler fill timing, thread‑safety pitfalls, and best‑practice recommendations.

BaseMapperInterceptorLambdaQueryWrapper
0 likes · 22 min read
MyBatis-Plus Interview Self-Test: Full Core Analysis and Pitfall Checklist
CodeSmart Hoops
CodeSmart Hoops
Jun 17, 2026 · Backend Development

Hands‑On Unit Testing of MyBatis‑Plus with Spring Boot 3

This guide demonstrates how to set up a Spring Boot 3.x project with MyBatis‑Plus, configure Maven dependencies, H2 database, and JPA, then write comprehensive JUnit 5 tests covering CRUD, LambdaQueryWrapper queries, pagination, logical deletion, and automatic timestamp filling, with step‑by‑step commands to run the tests.

JUnit 5JavaMyBatis-Plus
0 likes · 20 min read
Hands‑On Unit Testing of MyBatis‑Plus with Spring Boot 3
CodeSmart Hoops
CodeSmart Hoops
Jun 14, 2026 · Backend Development

JPA Full Guide: Interview Self‑Test with Answers

This article provides a comprehensive interview self‑test covering JPA, Hibernate, and Spring Data JPA, including entity lifecycle states, repository proxy creation, PartTree method parsing, first‑level cache behavior, dirty checking, transaction binding, N+1 query problems, lazy loading exceptions, JPQL vs native queries, save vs persist differences, and the semantics of findAll returning an empty collection.

EntityHibernateJPA
0 likes · 19 min read
JPA Full Guide: Interview Self‑Test with Answers
CodeSmart Hoops
CodeSmart Hoops
Jun 8, 2026 · Backend Development

Hands‑On Unit Tests for a Complete MyBatis Integration with Spring Boot 3

This guide walks through a full MyBatis unit‑testing suite built on Spring Boot 3.x and JDK 17+, showing how to configure Maven dependencies, set up an H2 datasource, write POJOs, define mapper interfaces and XML, and verify features such as mapper proxies, parameter binding, dynamic SQL, resultMap mapping, camel‑case conversion and first‑level caching with JUnit 5.

JUnit 5MyBatisSpring Boot
0 likes · 25 min read
Hands‑On Unit Tests for a Complete MyBatis Integration with Spring Boot 3
CodeSmart Hoops
CodeSmart Hoops
Jun 3, 2026 · Backend Development

Spring Event-Driven Architecture: Interview Self-Test with Observer Pattern and Decoupling Design

This article provides a comprehensive interview self‑test on Spring's event‑driven mechanism, covering the three core components, synchronous vs asynchronous handling, the role and default implementation of ApplicationEventMulticaster, adapter flow, async configuration options, @TransactionalEventListener phases, exception propagation, @Order ordering, SpEL condition filtering, a comparison with MQ, POJO events, and the listenerCache optimization.

BackendSpELSpring
0 likes · 21 min read
Spring Event-Driven Architecture: Interview Self-Test with Observer Pattern and Decoupling Design