Java Interview Crash Guide
Author

Java Interview Crash Guide

Dedicated to sharing Java interview Q&A; follow and reply "java" to receive a free premium Java interview guide.

379
Articles
0
Likes
92
Views
0
Comments
Recent Articles

Latest from Java Interview Crash Guide

100 recent articles max
Java Interview Crash Guide
Java Interview Crash Guide
Oct 13, 2023 · Backend Development

Eliminate Complex if‑else Chains with Strategy and Chain‑of‑Responsibility Patterns in Java

This article demonstrates how to replace cumbersome if‑else or switch‑case logic in Java receipt processing with clean, extensible solutions using the Strategy pattern combined with a Map dictionary, and the Chain of Responsibility pattern, while preserving the Open/Closed principle.

Chain of ResponsibilityJavarefactoring
0 likes · 14 min read
Eliminate Complex if‑else Chains with Strategy and Chain‑of‑Responsibility Patterns in Java
Java Interview Crash Guide
Java Interview Crash Guide
Oct 7, 2023 · Backend Development

Mastering Graceful Shutdown and Startup for Spring Boot Microservices

Learn how to implement elegant service shutdown and startup in microservice architectures using Java's shutdown hooks, Spring Boot's built-in mechanisms, Docker container signals, and external containers like Jetty, with code examples and best‑practice strategies to avoid traffic hitting unhealthy instances.

Graceful Shutdownmicroservices
0 likes · 10 min read
Mastering Graceful Shutdown and Startup for Spring Boot Microservices
Java Interview Crash Guide
Java Interview Crash Guide
Sep 22, 2023 · Backend Development

Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel – and How to Fix It

This article explains how Lombok’s unconventional getter/setter naming for fields with a lowercase‑first, uppercase‑second pattern causes MyBatis to map enum properties as null, and how the @Accessor(chain=true) annotation in EasyExcel triggers cglib reflection issues, then provides practical workarounds for both problems.

AccessorEasyExcelGetterSetter
0 likes · 9 min read
Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel – and How to Fix It
Java Interview Crash Guide
Java Interview Crash Guide
Sep 19, 2023 · Backend Development

How MyBatis Leverages 10+ Design Patterns to Simplify Complex Scenarios

The article examines how MyBatis applies a variety of creational, structural, and behavioral design patterns—such as Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—to decouple its over‑twenty‑thousand‑line codebase, improve modularity, and handle complex ORM tasks efficiently.

BuilderFactory PatternMyBatis
0 likes · 8 min read
How MyBatis Leverages 10+ Design Patterns to Simplify Complex Scenarios
Java Interview Crash Guide
Java Interview Crash Guide
Sep 14, 2023 · Backend Development

Master MyBatis Dynamic SQL: Tags, Conditions, and Advanced Queries

This article explains MyBatis dynamic SQL, its nine XML tags, execution principle, and how to use if, where, set, choose, trim, foreach, sql, include, and association mappings for flexible query building, batch operations, and one‑to‑many, many‑to‑one, and many‑to‑many relationships.

Dynamic SQLJavaMyBatis
0 likes · 17 min read
Master MyBatis Dynamic SQL: Tags, Conditions, and Advanced Queries
Java Interview Crash Guide
Java Interview Crash Guide
Sep 13, 2023 · Backend Development

Master Java 8 Streams: 20 Real‑World Examples to Boost Your Code

This comprehensive Java 8 Stream tutorial explains how Stream and Lambda simplify collection processing, walks through creating streams, intermediate and terminal operations, and provides twenty practical code examples covering filtering, aggregation, mapping, collecting, grouping, sorting, and parallel execution.

JavaJava 8Lambda
0 likes · 23 min read
Master Java 8 Streams: 20 Real‑World Examples to Boost Your Code