Tag

Spring MVC

0 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Jun 10, 2025 · Backend Development

Master Spring Boot Annotations: From @RequestMapping to @Conditional

This comprehensive guide explains the most common Spring Boot annotations—including request mapping, bean definitions, dependency injection, scopes, and auto‑configuration—providing clear examples and usage tips for Java backend developers.

AnnotationsJavaSpring Boot
0 likes · 15 min read
Master Spring Boot Annotations: From @RequestMapping to @Conditional
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 4, 2025 · Backend Development

Master Spring Boot Interceptors: From Basics to Advanced Techniques

This article explains what Spring MVC interceptors are, when to use them, provides a simple implementation and registration example, and then dives into advanced patterns such as MappedInterceptor, global interceptors, and asynchronous interceptors with complete code snippets and usage guidance.

AsyncBackendInterceptor
0 likes · 8 min read
Master Spring Boot Interceptors: From Basics to Advanced Techniques
Top Architect
Top Architect
Jun 3, 2025 · Backend Development

Best Practices for Spring MVC Controller Design: Unified Response, Validation, and Exception Handling

This article explains how to design Spring MVC controllers with a unified response structure, implement request validation using JSR‑303 and custom annotations, handle exceptions uniformly, and resolve issues with ResponseBodyAdvice and HttpMessageConverters to improve code clarity and maintainability.

ControllerException HandlingJava
0 likes · 18 min read
Best Practices for Spring MVC Controller Design: Unified Response, Validation, and Exception Handling
Top Architecture Tech Stack
Top Architecture Tech Stack
May 28, 2025 · Backend Development

Understanding Spring MVC Workflow and Its Core Components

This article explains the Spring MVC architecture, detailing the roles of DispatcherServlet, HandlerMapping, HandlerAdapter, Controller, ViewResolver, and View within the MVC pattern, while also providing a brief promotional note for IDE activation codes.

BackendJavaMVC pattern
0 likes · 9 min read
Understanding Spring MVC Workflow and Its Core Components
Architect
Architect
May 27, 2025 · Backend Development

Improving Spring MVC Controller Layer: Unified Response, Validation, and Exception Handling

This article explains how to refactor a Spring MVC Controller layer by separating responsibilities, implementing a unified response structure, handling String response conversion, customizing validation with JSR‑303, and creating centralized exception handling to produce consistent API results.

ControllerException HandlingJava
0 likes · 20 min read
Improving Spring MVC Controller Layer: Unified Response, Validation, and Exception Handling
Top Architecture Tech Stack
Top Architecture Tech Stack
May 23, 2025 · Backend Development

Best Practices for Designing a Robust Spring MVC Controller Layer

This article explains the essential responsibilities of a Spring MVC controller, identifies common pitfalls such as duplicated validation and inconsistent responses, and demonstrates how to unify response structures, handle String conversion issues, apply JSR‑303 validation, create custom validators, and implement centralized exception handling using ResponseBodyAdvice and @RestControllerAdvice.

ControllerExceptionHandlingResponseBodyAdvice
0 likes · 17 min read
Best Practices for Designing a Robust Spring MVC Controller Layer
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 18, 2025 · Backend Development

Run a Spring MVC App with Embedded Tomcat in One Class – Step‑by‑Step Guide

This tutorial shows how to build and run a Spring MVC application using an embedded Tomcat server with just a single Java class, covering Maven dependencies, Tomcat configuration, Servlet registration, Spring‑driven startup, and core Spring MVC component setup.

Embedded TomcatJavaSpring Boot
0 likes · 11 min read
Run a Spring MVC App with Embedded Tomcat in One Class – Step‑by‑Step Guide
Top Architecture Tech Stack
Top Architecture Tech Stack
May 9, 2025 · Backend Development

Understanding DTO, BO, PO, and VO in Backend Development

This article explains the concepts of Data Transfer Object (DTO), Business Object (BO), Persistent Object (PO), and Value Object (VO) in backend development, compares their roles, provides Java code examples, and discusses how to configure Spring MVC to filter null fields, while also including promotional content for IDE licenses.

BODTOJava
0 likes · 6 min read
Understanding DTO, BO, PO, and VO in Backend Development
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 5, 2025 · Backend Development

Explore 100+ Spring Boot 3 Real-World Cases: DB Init, Redis, Security & More

This article presents a continuously updated collection of over 120 Spring Boot 3 practical examples, covering database initialization scripts, switching Redis clients, disabling and customizing security, configuring HTTP clients, and fine‑tuning Spring MVC behavior with code snippets and configuration details.

Database InitializationHTTP ClientRedis
0 likes · 9 min read
Explore 100+ Spring Boot 3 Real-World Cases: DB Init, Redis, Security & More
Java Captain
Java Captain
Apr 30, 2025 · Backend Development

Refactoring Controller Layer Logic: Unified Response Structure, Parameter Validation, and Global Exception Handling in Spring

This article outlines a four‑step approach to refactor Spring MVC controllers by unifying response structures, centralizing response wrapping via ResponseBodyAdvice, implementing robust parameter validation with JSR‑303, and handling custom exceptions globally, resulting in cleaner, more maintainable backend code.

ControllerException HandlingParameter Validation
0 likes · 18 min read
Refactoring Controller Layer Logic: Unified Response Structure, Parameter Validation, and Global Exception Handling in Spring
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 30, 2025 · Backend Development

Master Spring Boot 3 File Upload: 5 Practical Techniques & Code Samples

This article demonstrates multiple ways to handle file uploads in Spring Boot 3, covering basic @RequestParam usage, Map and object binding, jakarta.servlet.http.Part, and @RequestPart for combined JSON and file data, complete with code snippets and practical examples.

@RequestPartCode SamplesFile Upload
0 likes · 7 min read
Master Spring Boot 3 File Upload: 5 Practical Techniques & Code Samples
Top Architecture Tech Stack
Top Architecture Tech Stack
Mar 20, 2025 · Backend Development

Refactoring Spring MVC Controller Layer: Unified Response Structure, Validation, and Exception Handling

This article explains how to refactor the Spring MVC Controller layer by unifying response structures, using ResponseBodyAdvice for automatic wrapping, handling parameter validation with JSR‑303, and implementing custom exceptions with centralized exception handling to simplify and standardize API responses.

BackendException HandlingJava
0 likes · 17 min read
Refactoring Spring MVC Controller Layer: Unified Response Structure, Validation, and Exception Handling
Java Captain
Java Captain
Mar 18, 2025 · Backend Development

Refactoring Spring MVC Controllers: Unified Response Structure, Parameter Validation, and Centralized Exception Handling

This article explains how to refactor the Spring MVC Controller layer by standardizing response structures, implementing unified response wrapping via ResponseBodyAdvice, handling String conversion issues, applying JSR‑303 parameter validation, creating custom validation rules, and defining custom exceptions with centralized exception handling to simplify controller code.

ControllerJavaParameter Validation
0 likes · 17 min read
Refactoring Spring MVC Controllers: Unified Response Structure, Parameter Validation, and Centralized Exception Handling
Selected Java Interview Questions
Selected Java Interview Questions
Mar 3, 2025 · Backend Development

Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling

This article explains how to refactor Spring MVC controller layers by defining a unified response format, using ResponseBodyAdvice for automatic wrapping, handling String conversion issues, applying parameter validation with JSR‑303, creating custom validators, and implementing centralized exception handling to produce consistent API responses.

ControllerException HandlingJava
0 likes · 17 min read
Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling
Sohu Tech Products
Sohu Tech Products
Feb 26, 2025 · Backend Development

Implementing a Generic Aggregate CRUD Controller with Spring MVC and MyBatisPlus

The article demonstrates how to refactor a large PHP API suite into a Java Spring MVC application by creating a generic AggregateController that, through model‑name mapping, reflection‑based repository registration and a thread‑safe MappingKit, provides CRUD endpoints for any table, collapsing hundreds of endpoints into just two controllers for client and admin.

CRUDGeneric ControllerJava
0 likes · 12 min read
Implementing a Generic Aggregate CRUD Controller with Spring MVC and MyBatisPlus
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 19, 2025 · Backend Development

9 Powerful Ways to Build Spring Boot 3 APIs – Full Code Collection

This guide showcases nine distinct Spring Boot 3 API development techniques—from classic @RestController annotations to functional RouterFunction beans and custom Actuator endpoints—providing complete code samples, configuration details, and a promise of ongoing updates with a downloadable PDF of over 90 practical cases.

API DevelopmentActuatorBackend
0 likes · 8 min read
9 Powerful Ways to Build Spring Boot 3 APIs – Full Code Collection
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 18, 2025 · Backend Development

Why Spring MVC Auto‑Binds Header Data to Your DTO – The Hidden Mechanism Explained

This article explores why Spring MVC automatically binds HTTP header values to controller method parameters, demonstrates the issue with a sample Spring Boot 3.4.0 project, analyzes the underlying HandlerMethodArgumentResolver and ServletModelAttributeMethodProcessor code, and provides two practical solutions to prevent unwanted header binding.

HandlerMethodArgumentResolverHeader BindingJava
0 likes · 8 min read
Why Spring MVC Auto‑Binds Header Data to Your DTO – The Hidden Mechanism Explained
Architecture Digest
Architecture Digest
Feb 11, 2025 · Backend Development

Outdated Java Backend Technologies You Can Stop Learning

The article reviews several Java backend technologies—JSP, Struts, Hibernate, Servlet, Applet, Swing, JDBC, and XML—explaining why they are now considered obsolete or low‑priority and recommending modern alternatives such as Spring MVC, MyBatis, and deep Servlet knowledge for current development.

BackendFrameworksHibernate
0 likes · 9 min read
Outdated Java Backend Technologies You Can Stop Learning
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 6, 2025 · Backend Development

Master Spring Boot 3 Exception Handling with @ExceptionHandler and Media Types

Explore how Spring Boot 3 leverages the @ExceptionHandler annotation to centralize error handling, customize responses based on the Accept header, configure view beans for HTML errors, and utilize new Spring 6.2 attributes, with complete code examples and testing guidance.

BackendException HandlingJava
0 likes · 7 min read
Master Spring Boot 3 Exception Handling with @ExceptionHandler and Media Types
macrozheng
macrozheng
Jan 26, 2025 · Backend Development

Which Java Technologies Are Worth Learning in 2024? A Practical Guide

Based on 20 years of Java experience, this article evaluates Java technologies like JSP, Struts, Hibernate, and Servlet against practical use, depth of understanding, and interview relevance, recommending which to drop, which to master, and highlighting alternatives such as Spring MVC and MyBatis.

HibernateJSPJava
0 likes · 8 min read
Which Java Technologies Are Worth Learning in 2024? A Practical Guide