Spring MVC
New Video: Consume RESTful Web Services with RestClient | Spring Framework 7+
Consume RESTful API using Spring Framework’s RestClient
If your application uses Spring Framework 7 or later, you can now use the RestClient class to consume RESTful APIs. How exactly? Let’s find out in this tutorial! For example, I will create a new Spring Boot project version 4.0.0 or later, using the Web… Read More
Video: API Versioning with Path Parameters in Spring Framework 7 | Clean & Future-Proof REST APIs
Video: API Versioning with Request Headers in Spring Framework 7 — Best Practice Guide
Supported versions with API versioning using the Spring framework
When enabling API versioning using Spring Framework 7 or later, in addition to defining the default version for endpoints that do not have a version defined, you can also define a list of versions supported by your API by using the addSupportedVersions() method when configuring… Read More
API Versioning using path parameter with Spring framework
In the previous tutorial, I showed you how to enable API Versioning for the request header in a Spring application. In this tutorial, we will continue to learn how to enable API Versioning for the path parameter! I will also create a new Spring Boot… Read More
Create a new Spring MVC project using huongdanjava-spring-mvc-archetype
Nowadays, in web applications using the Spring Framework, we often use Spring Boot to build these applications. Essentially, Spring Boot also uses Spring MVC but provides additional mechanisms such as auto-configuration, dependency management, embedded servers, and production features, making the application development process much simpler.… Read More
Internationalization in Spring MVC
Internationalization is a feature of modern web applications, capable of displaying interfaces in multiple languages from different countries. For example, if your web application can display English, Vietnamese, German, Korean, Japanese, then users who know one of these languages can choose the language they are… Read More
Configure Spring MVC with WebApplicationInitializer and WebMvcConfigurer
When creating a Spring MVC project using the Spring Tool Suite 3 IDE, you can see, we have a web.xml file that defines the configuration for the DispatcherServlet, the root-context.xml and the servlet-context.xml files define bean configuration in Spring container including ViewResolver, a Controller handle… Read More

