Spring MVC
-
Enterprise Java
Customizing HttpMessageConverters with Spring Boot and Spring MVC
Exposing a REST based endpoint for a Spring Boot application or for that matter a straight Spring MVC application is…
Read More » -
Enterprise Java
Validation groups in Spring MVC
Validation constraints in Bean Validation may be added to one or more groups via groups attribute. This allows you to…
Read More » -
Enterprise Java
Spring MVC Integration Testing: Assert the given model attribute(s) have global errors
In order to report a global error in Spring MVC using Bean Validation we can create a custom class level…
Read More » -
Enterprise Java
Common mistakes when using Spring MVC
When I started my career around 10 years ago, Struts MVC was the norm in the market. However, over the…
Read More » -
Enterprise Java
Better error messages with Bean Validation 1.1 in Spring MVC application
Bean Validation 1.1, among many new features, introduced error message interpolation using Unified Expression Language (EL) expressions. This allows to…
Read More » -
Enterprise Java
RSS Reader Using: ROME, Spring MVC, Embedded Jetty
In this post I will show some guidelines to create a Spring web application, running it using Jetty and using…
Read More » -
Enterprise Java
Spring MVC and Thymeleaf: how to acess data from templates
In a typical Spring MVC application, @Controller classes are responsible for preparing a model map with data and selecting a…
Read More » -
Enterprise Java
CSRF protection in Spring MVC, Thymeleaf, Spring Security application
Cross-Site Request Forgery (CSRF) is an attack which forces an end user to execute unwanted actions on a web application…
Read More » -
Enterprise Java
Adding Social Sign In to a Spring MVC Web Application: Integration Testing
I have written about the challenges of writing unit tests for applications which use Spring Social 1.1.0 and provided one…
Read More »