Spring Full-Stack Practical Cases
Author

Spring Full-Stack Practical Cases

Full-stack Java development with Vue 2/3 front-end suite; hands-on examples and source code analysis for Spring, Spring Boot 2/3, and Spring Cloud.

1.1k
Articles
0
Likes
6.4k
Views
0
Comments
Recent Articles

Latest from Spring Full-Stack Practical Cases

100 recent articles max
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 25, 2026 · Backend Development

Four Ways to Fix Spring Boot JSON Serialization ‘no Session’ Error for Associated Entities

This article presents four practical solutions for the Spring Boot 3.5.0 “Could not write JSON: failed to lazily initialize a collection… no Session” error that occurs when serializing bidirectional one-to-many relationships, covering @JsonIgnore, JPQL fetch joins, enabling OpenEntityManagerInView, and using the Jackson Hibernate6 module, with code examples and results.

JPAJSONJackson
0 likes · 7 min read
Four Ways to Fix Spring Boot JSON Serialization ‘no Session’ Error for Associated Entities
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 24, 2026 · Backend Development

Ditch Traditional JSON Parsing: Boost Spring Boot API Performance by 30×

A four‑month investigation revealed that Jackson’s default object‑mapper consumed over 60% of CPU time during order‑submission requests, causing 900 ms latency; switching to Jackson’s streaming API reduced average response time from 912 ms to 28 ms, cut GC pauses, and increased throughput eight‑fold, while introducing readability and validation trade‑offs.

JSON ParsingJacksonJava
0 likes · 8 min read
Ditch Traditional JSON Parsing: Boost Spring Boot API Performance by 30×
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 23, 2026 · Backend Development

One Bad Log Can Halve Spring Boot Throughput – How to Log Without Losing Performance

The article explains why effective logging is crucial for Java applications, compares proper and improper logging practices with SLF4J and Logback, and provides fourteen concrete best‑practice guidelines—including correct logger setup, level usage, placeholders, asynchronous and structured logging—to avoid performance degradation and security risks.

JavaSpring Bootasynchronous logging
0 likes · 14 min read
One Bad Log Can Halve Spring Boot Throughput – How to Log Without Losing Performance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 23, 2026 · Backend Development

Stop Writing Manual if‑else: Master Spring Boot Partial Updates with @JsonMerge

This article explains how to avoid null‑overwrites during partial updates in Spring Boot by using Jackson's @JsonMerge annotation, demonstrates handling of nested objects and null values with @JsonSetter, and shows how to create a custom @JsonMergePatch argument resolver for clean controller code.

@JsonMergeArgument ResolverJackson
0 likes · 9 min read
Stop Writing Manual if‑else: Master Spring Boot Partial Updates with @JsonMerge
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 22, 2026 · Backend Development

Why Prefer @Bean Over @Component? Avoid Critical Spring Boot Pitfalls

The article explains the fundamental differences between @Component and @Bean in Spring Boot 3.5.0, demonstrates how @Bean provides finer control, solves five common configuration problems, and reveals a subtle proxy‑related bug that causes multiple bean instances when @Component is misused on configuration classes.

ComponentDependency InjectionSpring Boot
0 likes · 8 min read
Why Prefer @Bean Over @Component? Avoid Critical Spring Boot Pitfalls
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 21, 2026 · Backend Development

Spring Boot + Yauaa: Ultra‑Precise Parsing of Client Device, OS, and Browser Info

This article walks through using the Yauaa library in Spring Boot 3.5.0 to extract detailed client‑side information—device class, operating system, and browser—from the User‑Agent header, covering basic bean setup, advanced cache configuration, field selection, and device‑based routing examples.

Cache ConfigurationDevice DetectionJava
0 likes · 8 min read
Spring Boot + Yauaa: Ultra‑Precise Parsing of Client Device, OS, and Browser Info
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 21, 2026 · Backend Development

Beyond Vibe Coding: A Deep Dive into OpenSpec Spec‑Driven Development

This article explains why Vibe Coding reaches its limits for large projects, introduces Spec‑Driven Development with OpenSpec, walks through installing the tool, using its opsx commands, creating specification documents, applying code generation, and archiving the results in a Spring Boot 3.5.0 application.

AI-assisted codingOpenSpecOpsx commands
0 likes · 12 min read
Beyond Vibe Coding: A Deep Dive into OpenSpec Spec‑Driven Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 20, 2026 · Backend Development

Four Advanced Spring Boot Solutions to Eliminate @JsonIgnore and Resolve JSON Recursion

When bidirectional JPA entities cause infinite JSON recursion in Spring Boot, the article explains why @JsonIgnore is suboptimal and demonstrates four advanced alternatives—@JsonIgnoreProperties, @JsonManagedReference/@JsonBackReference, the Jackson Hibernate module, and @JsonIdentityInfo—each with code samples and runtime results.

@JsonIgnorePropertiesHibernateJPA
0 likes · 7 min read
Four Advanced Spring Boot Solutions to Eliminate @JsonIgnore and Resolve JSON Recursion