Selected Java Interview Questions
Author

Selected Java Interview Questions

A professional Java tech channel sharing common knowledge to help developers fill gaps. Follow us!

1.5k
Articles
0
Likes
3.5k
Views
0
Comments
Recent Articles

Latest from Selected Java Interview Questions

100 recent articles max
Selected Java Interview Questions
Selected Java Interview Questions
Feb 14, 2026 · Backend Development

Master Dynamic Table Names in MyBatis‑Plus with a Simple Starter

This article introduces an open‑source MyBatis‑Plus dynamic‑table starter, explains why dynamic table names are needed for large‑scale data, outlines its key features, provides step‑by‑step installation and quick‑start instructions, demonstrates advanced usage, debugging tips, FAQs, and real‑world scenarios.

Dynamic TableJavaMyBatis-Plus
0 likes · 9 min read
Master Dynamic Table Names in MyBatis‑Plus with a Simple Starter
Selected Java Interview Questions
Selected Java Interview Questions
Feb 4, 2026 · Databases

How to Handle Pagination Across Sharded Databases Without Performance Pitfalls

This article explains why pagination only becomes complex when queries span multiple database shards, compares three mainstream solutions—including middleware, open‑source frameworks, and business compromises—highlights the pitfalls of global search for deep pages, and recommends sequential paging based on the previous page’s max ID, with interview‑ready STAR guidance.

PaginationPerformanceSQL
0 likes · 7 min read
How to Handle Pagination Across Sharded Databases Without Performance Pitfalls
Selected Java Interview Questions
Selected Java Interview Questions
Jan 30, 2026 · Backend Development

When to Use Git Merge vs Rebase: A Practical Comparison

This article walks through a common development scenario where two feature branches diverge from master, demonstrating how merge and rebase handle integration, conflict resolution, and commit history, and provides guidance on when each strategy is appropriate.

GitVersion Controlconflict resolution
0 likes · 7 min read
When to Use Git Merge vs Rebase: A Practical Comparison
Selected Java Interview Questions
Selected Java Interview Questions
Jan 27, 2026 · Backend Development

Why Does @Transactional(REQUIRES_NEW) Still Roll Back Your Audit Log?

When a Spring @Transactional method with REQUIRES_NEW fails to persist audit logs after a rollback, the issue often stems from misconfigured rollback rules, caught exceptions, self‑invocation, non‑public or final methods, or incorrect propagation settings, all of which prevent the new transaction from committing.

ExceptionHandlingJavaREQUIRES_NEW
0 likes · 7 min read
Why Does @Transactional(REQUIRES_NEW) Still Roll Back Your Audit Log?
Selected Java Interview Questions
Selected Java Interview Questions
Jan 20, 2026 · Backend Development

How to Diagnose and Fix Maven Dependency Conflicts (NoSuchMethodError & ClassNotFoundException)

This guide explains why Maven dependency conflicts cause errors like NoSuchMethodError and ClassNotFoundException, shows step‑by‑step commands to inspect the dependency tree, and provides three practical ways—exclusions, forced versions, and dependencyManagement—to resolve and prevent such conflicts in Java projects.

BOMClassNotFoundExceptionDependency Conflict
0 likes · 7 min read
How to Diagnose and Fix Maven Dependency Conflicts (NoSuchMethodError & ClassNotFoundException)
Selected Java Interview Questions
Selected Java Interview Questions
Jan 18, 2026 · Backend Development

How to Seamlessly Integrate Arthas into Spring Boot for Real‑Time Monitoring

This guide explains how to embed the Arthas online monitoring tool into a Spring Boot application using the Arthas Spring Boot Starter, configure telnet and HTTP ports, access the console via terminal or web, and extend debugging across multiple services with Arthas Tunnel while addressing security considerations.

ArthasJavaSpring Boot
0 likes · 12 min read
How to Seamlessly Integrate Arthas into Spring Boot for Real‑Time Monitoring
Selected Java Interview Questions
Selected Java Interview Questions
Jan 15, 2026 · Backend Development

How to Build a Lightweight, Annotation‑Driven Rate Limiter with Spring AOP and Guava

This article explains how to create a non‑intrusive, configurable rate‑limiting component for Spring services by combining Spring AOP, a custom @RateLimit annotation, and Google Guava's RateLimiter, covering token‑bucket fundamentals, API usage, implementation details, common AOP pitfalls, and migration to distributed limiting.

AnnotationGuava RateLimiterJava
0 likes · 12 min read
How to Build a Lightweight, Annotation‑Driven Rate Limiter with Spring AOP and Guava