# Spring MVC

Spring Web MVC, commonly known as Spring MVC, is a web framework built on the Servlet API and included in the Spring Framework.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## This Week in Spring - November 3rd, 2026

DevFeed: [This Week in Spring - November 3rd, 2026](<https://devfeed.tech/articles/this-week-in-spring-november-3rd-2026-113720.md>)

Original publisher: [Read original article](<https://spring.io/blog/2026/11/03/this-week-in-spring-november-3rd-2026>)

Author: joshlong

Published: 2026-11-03T00:00:00Z

Content type: news

Language: en

Sources: [Spring](<https://devfeed.tech/sources/spring.md>)

Topics: [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [cURL](<https://devfeed.tech/topics/curl.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [batch](<https://devfeed.tech/tags/batch.md>), [boot](<https://devfeed.tech/tags/boot.md>), [build](<https://devfeed.tech/tags/build.md>), [cf](<https://devfeed.tech/tags/cf.md>), [claude](<https://devfeed.tech/tags/claude.md>), [cli](<https://devfeed.tech/tags/cli.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloudfoundry](<https://devfeed.tech/tags/cloudfoundry.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [docker](<https://devfeed.tech/tags/docker.md>), [event-driven](<https://devfeed.tech/tags/event-driven.md>), [foundry](<https://devfeed.tech/tags/foundry.md>), [framework](<https://devfeed.tech/tags/framework.md>), [github](<https://devfeed.tech/tags/github.md>), [github-repository](<https://devfeed.tech/tags/github-repository.md>), [install](<https://devfeed.tech/tags/install.md>), [java](<https://devfeed.tech/tags/java.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [reactive](<https://devfeed.tech/tags/reactive.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [spring](<https://devfeed.tech/tags/spring.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

### AI overview

The article gives a practical path to run a Spring Boot app on Cloud Foundry locally: start Cloud Foundry in kind with Docker and an AI agent following the repository instructions, install the cf CLI (with commands for macOS, Windows, and Linux), then create a Java 17 Spring Initializr app with Web. Build and deploy it with `./mvnw package && cd target && cf push -p <jar> myapp`, check `cf applications` for its URL, and open the app. The author presents this setup as a simple way to try Cloud Foundry without relying on a work cluster.

### Source excerpt

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's Tuesday, and you know what that means? I'm thinking about production. Now, to be fair, I'm always thinking about production. But recently, I've been spending the weekend just overjoyed at how simple it was to get Cloud Foundry working on my laptop, in Docker, with this GitHub repository. You see, I normally rely on an internal cluster at work to try out the latest and greatest in the platform, but I've always wanted to run the whole thing locally. It's like four steps. But don't even do those steps. Instead, just launch your favorite AI and point it to the instructions. You'll just need to have Docker and kind running on your host, and your AI agent will take care of the rest. I used Claude, but you do you. Why do I mention this? I love Cloud Foundry. It's like if you took the ideals of Spring Boot and applied them to a platform where your applications run. Strong opinions, loosely held. The platform and the framework, combined, let me focus on the important stuff: getting to production. You wanna try it out? Why not! First, install Cloud Foundry in kind as explained above. Second, install the cf CLI. on macOS: brew install cloudfoundry/tap/cf-cli@8 on Windows: # Using Chocolatey choco install cloudfoundry-cli # Or using Winget winget install CloudFoundry.cli on Linux, you can probably just use your distro's package manager and, failing that, use this: curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github" | tar -zx # Move to your path sudo mv cf8 /usr/local/bin/cf8 sudo mv cf /usr/local/bin/cf Third, build a Spring Boot application. Hit the Spring Initializr and create a new application using Java 17, and add Web. Here's what I put at the bottom of my DemoApplication class: @Controller @ResponseBody class HelloController { @GetMapping("/") Map<String, String> hello() { return Map.of("name", "Hello, Cloud Foundry!"); } } Then in the command line:

## Thymeleaf, Spring MVC and htmx for Native Java Backends

DevFeed: [Thymeleaf, Spring MVC and htmx for Native Java Backends](<https://devfeed.tech/articles/thymeleaf-spring-mvc-and-htmx-for-native-java-backends-89413.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/compile-html-before-deployment/>)

Author: Shai Almog

Published: 2026-10-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [htmx](<https://devfeed.tech/topics/htmx.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [Java](<https://devfeed.tech/topics/java.md>), [Spring Framework](<https://devfeed.tech/topics/spring-framework.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [backends](<https://devfeed.tech/tags/backends.md>), [code](<https://devfeed.tech/tags/code.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [controllers](<https://devfeed.tech/tags/controllers.md>), [csrf](<https://devfeed.tech/tags/csrf.md>), [form](<https://devfeed.tech/tags/form.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [htmx](<https://devfeed.tech/tags/htmx.md>), [java](<https://devfeed.tech/tags/java.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [pages](<https://devfeed.tech/tags/pages.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-mvc](<https://devfeed.tech/tags/spring-mvc.md>)

### AI overview

The article explains a Java backend approach that compiles a supported subset of Thymeleaf-style templates into renderers for native code, alongside Spring MVC-style controllers and htmx fragments. It describes typed model access, build-time errors for mismatched properties, form handling, and CSRF considerations, while noting limitations such as no runtime template editing or arbitrary method calls.

### Source excerpt

Use Thymeleaf-style templates, Spring MVC-style controllers and htmx with statically compiled rendering code. Serve pages and fragments from a native Java backend.

## Documenting Form Parameters With Spring REST Docs

DevFeed: [Documenting Form Parameters With Spring REST Docs](<https://devfeed.tech/articles/documenting-form-parameters-with-spring-rest-docs-65887.md>)

Original publisher: [Read original article](<https://www.baeldung.com/java-spring-rest-docs-form-parameters>)

Author: Ulisses Lima

Published: 2026-10-06T15:29:15Z

Content type: tutorial

Language: en

Sources: [Baeldung](<https://devfeed.tech/sources/baeldung.md>)

Topics: [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>)

Tags: [api-documentation](<https://devfeed.tech/tags/api-documentation.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-mvc](<https://devfeed.tech/tags/spring-mvc.md>), [spring-mvc-spring-rest-docs](<https://devfeed.tech/tags/spring-mvc-spring-rest-docs.md>), [spring-rest-docs](<https://devfeed.tech/tags/spring-rest-docs.md>), [validation](<https://devfeed.tech/tags/validation.md>)

### AI overview

The tutorial shows how to document form-encoded parameters for a Spring MVC endpoint with Spring REST Docs and MockMvc. It covers required, optional, ignored, and relaxed parameters, and explains how validation constraints can be included in generated documentation.

### Source excerpt

Learn to document form parameters with Spring REST Docs and include their validation constraints in the documentation, too. The post Documenting Form Parameters With Spring REST Docs first appeared on Baeldung.

## Exploring the MVC Pattern in Python

DevFeed: [Exploring the MVC Pattern in Python](<https://devfeed.tech/articles/exploring-the-mvc-pattern-in-python-65389.md>)

Original publisher: [Read original article](<https://realpython.com/courses/exploring-mvc-pattern-python/>)

Author: Real Python

Published: 2026-10-06T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [mvc](<https://devfeed.tech/topics/mvc.md>), [Python](<https://devfeed.tech/topics/python.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>)

Tags: [flask](<https://devfeed.tech/tags/flask.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [pattern](<https://devfeed.tech/tags/pattern.md>), [python](<https://devfeed.tech/tags/python.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This video course explains the Model-View-Controller pattern in Python web applications and guides learners through building a small Flask app with models, views, and controllers.

### Source excerpt

Learn how the Model-View-Controller pattern organizes Python web apps, then build a small Flask app using models, views, and controllers.

## A Smaller, Faster Java Server with a Spring-Style API

DevFeed: [A Smaller, Faster Java Server with a Spring-Style API](<https://devfeed.tech/articles/a-smaller-faster-java-server-with-a-spring-style-api-63796.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/java-server-work-before-startup/>)

Author: Shai Almog

Published: 2026-10-02T00:00:00Z

Content type: article

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Spring Framework](<https://devfeed.tech/topics/spring-framework.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [backend](<https://devfeed.tech/tags/backend.md>), [boot](<https://devfeed.tech/tags/boot.md>), [build](<https://devfeed.tech/tags/build.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [java](<https://devfeed.tech/tags/java.md>), [size](<https://devfeed.tech/tags/size.md>), [spring](<https://devfeed.tech/tags/spring.md>), [startup](<https://devfeed.tech/tags/startup.md>), [time](<https://devfeed.tech/tags/time.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

This article presents a work-in-progress native Java backend with a Spring-style API, generated dependency injection and transaction handling, and ParparVM virtual threads. It reports local comparisons with selected Spring Boot HTTP stacks: the tested CN1 executable used less memory and disk space and started faster, while the article cautions that the measurements cover narrow workloads and do not compare equivalent framework features.

### Source excerpt

Build a smaller native Java service with Spring-style transactions and dependency injection. Inspect the generated code and compare local Linux startup, memory, throughput, binary size and build time.

## Stabilizing a Failing Java Web Application with Daily Production Outages

DevFeed: [Stabilizing a Failing Java Web Application with Daily Production Outages](<https://devfeed.tech/articles/the-slow-fix-41533.md>)

Original publisher: [Read original article](<https://dfa1.github.io/articles/the-slow-fix.html>)

Author: Davide Angelocola

Published: 2026-04-30T00:00:00Z

Content type: opinion

Language: en

Sources: [Davide Angelocola](<https://devfeed.tech/sources/davide-angelocola.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [shared mutable state](<https://devfeed.tech/topics/shared-mutable-state.md>), [Code](<https://devfeed.tech/topics/code.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [Hibernate](<https://devfeed.tech/topics/hibernate.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [business logic](<https://devfeed.tech/topics/business-logic.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [ide](<https://devfeed.tech/topics/ide.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [database](<https://devfeed.tech/tags/database.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [developers](<https://devfeed.tech/tags/developers.md>), [hibernate](<https://devfeed.tech/tags/hibernate.md>), [java](<https://devfeed.tech/tags/java.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [shared-mutable-state](<https://devfeed.tech/tags/shared-mutable-state.md>), [spring](<https://devfeed.tech/tags/spring.md>)

### AI overview

A consultant recounts efforts to stabilize a large Java web application that was suffering roughly daily production outages. The system had unsynchronized shared state, database connection leaks, unbounded memory growth, layered frameworks, mixed MySQL table engines, and hard-to-debug reflective business logic.

### Source excerpt

This is a success story from when I was working as a consultant in the mid 2010s. This is an extract from notes I took at that time. The inspiration is "The Phoenix Project" -- minus the novel format. The goal here is simpler: document what happened, in case it's useful to someone standing at the same starting point.

## Essential Annotations Every Spring Developer Should Know

DevFeed: [Essential Annotations Every Spring Developer Should Know](<https://devfeed.tech/articles/essential-annotations-every-spring-developer-should-know-17739.md>)

Original publisher: [Read original article](<https://blog.amigoscode.com/p/essential-annotations-every-spring>)

Author: Nelson Djalo

Published: 2024-10-08T16:03:11Z

Content type: tutorial

Language: en

Sources: [Amigoscode Newsletter](<https://devfeed.tech/sources/amigoscode-newsletter.md>)

Topics: [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Java](<https://devfeed.tech/topics/java.md>), [Application Development](<https://devfeed.tech/topics/application-development.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [JSON](<https://devfeed.tech/topics/json.md>), [XML](<https://devfeed.tech/topics/xml.md>)

Tags: [application-development](<https://devfeed.tech/tags/application-development.md>), [developer](<https://devfeed.tech/tags/developer.md>), [http](<https://devfeed.tech/tags/http.md>), [java](<https://devfeed.tech/tags/java.md>), [json](<https://devfeed.tech/tags/json.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-boot](<https://devfeed.tech/tags/spring-boot.md>), [xml](<https://devfeed.tech/tags/xml.md>)

### AI overview

A tutorial explaining commonly used Spring Boot annotations for configuring applications, managing dependencies, enabling auto-configuration, scanning components, defining MVC controllers, handling HTTP responses, and binding URL and request parameters.

### Source excerpt

Understanding Key Annotations for Simplified Development

## Understanding Non-Blocking Services with Kotlin Coroutines and Spring Boot

DevFeed: [Understanding Non-Blocking Services with Kotlin Coroutines and Spring Boot](<https://devfeed.tech/articles/why-non-blocking-39356.md>)

Original publisher: [Read original article](<https://kt.academy/article/nonblocking_spring_mvc>)

Published: 2024-03-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [coroutines](<https://devfeed.tech/tags/coroutines.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [programming](<https://devfeed.tech/tags/programming.md>), [spring](<https://devfeed.tech/tags/spring.md>), [spring-boot](<https://devfeed.tech/tags/spring-boot.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial examines blocking request handling in Spring Boot and Spring MVC, then introduces Kotlin Coroutines as a way to model non-blocking services. It uses a simple greeting service to illustrate thread usage and request processing.

### Source excerpt

From blocking to non-blocking with Kotlin, Coroutines and Spring Boot

## Elastic's response to the Spring4Shell vulnerability (CVE-2022-22965)

DevFeed: [Elastic's response to the Spring4Shell vulnerability (CVE-2022-22965)](<https://devfeed.tech/articles/elastic-s-response-to-the-spring4shell-vulnerability-cve-2022-22965-48875.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/blog/elastic-response-to-the-the-spring4shell-vulnerability-cve-2022-22965>)

Author: Devon Kerr

Published: 2022-11-22T00:00:00Z

Content type: article

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Spring Framework](<https://devfeed.tech/topics/spring-framework.md>), [Security](<https://devfeed.tech/topics/security.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [cve](<https://devfeed.tech/tags/cve.md>), [patching](<https://devfeed.tech/tags/patching.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [security](<https://devfeed.tech/tags/security.md>), [threat-hunting](<https://devfeed.tech/tags/threat-hunting.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

Elastic provides executive-level details about Spring4Shell, a remote code execution vulnerability in the Spring Framework. The article explains affected versions, exploitation prerequisites involving Spring MVC or WebFlux applications, Apache Tomcat, WAR deployment, and JDK 9 or later, and recommends patching and upgrading.

### Source excerpt

Provide executive-level details about CVE-2022-22965, a recently-disclosed remote code execution (RCE) vulnerability also known as "Spring4Shell".

## Testing MVC in Spring

DevFeed: [Testing MVC in Spring](<https://devfeed.tech/articles/testing-mvc-in-spring-27292.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/201801/testing-mvc-in-spring/>)

Published: 2018-01-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Spring MVC](<https://devfeed.tech/topics/spring-mvc.md>), [Spring Framework](<https://devfeed.tech/topics/spring-framework.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [controllers](<https://devfeed.tech/tags/controllers.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [spring](<https://devfeed.tech/tags/spring.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

A practical guide to testing Spring MVC applications, covering controller tests, separate MVC test groups, minimal test contexts, @WebMvcTest, and strict JSON verification. It also explains how API tests help preserve REST contracts and keep API documentation aligned with the build.

### Source excerpt

Most of java web applications is built on top of the Spring Framework. Spring has pretty good support for testing and it is a mistake not to take advantage of features it offers. I've been developing various applications using Spring MVC for some time and I've noticed few patterns for testing that do work. Read more