Spring MVC
-
Enterprise Java
Spring Validator Validation Example
1. Introduction Spring Validation Framework includes the Validator interface that handles data validation. It is used to implement custom validation…
Read More » -
Enterprise Java
Spring Boot MVC REST Controller Example & Unit Tests
In modern web development, REST APIs are essential for enabling communication between different systems and platforms. The Spring Framework, particularly…
Read More » -
Enterprise Java
Improving Spring Mock-MVC tests
Spring Mock-MVC can be a great way to test Spring Boot REST APIs. Mock-MVC allows us to test Spring-MVC request…
Read More » -
Enterprise Java
Reduce Repetitive Code in Spring MVC Controllers
After spending some time doing sustained engineering (a.k.a. maintaining legacy code), I ventured to reduce repetitive code in Spring MVC…
Read More » -
Enterprise Java
What is Bean scope in Spring MVC framework with Example
Bean scope in Spring framework or Spring MVC is scope for a bean managed by Spring IOC container. You may…
Read More » -
Enterprise Java
Spring MVC – HTTP message converter
Quite often you need to provide users with the same data, but in different forms, like JSON, PDF, XLS, etc.…
Read More » -
Enterprise Java
Spring MVC Binding w/o Setters
You can bind form parameters to a domain model object even if the domain model object does not have setters.…
Read More » -
Enterprise Java
Spring with Rails’ jQuery UJS
I’ve always wanted to try to see if I could use Rails’ jQuery UJS in a Spring Boot project. The…
Read More » -
Enterprise Java
Caching in Spring Boot with Spring Security
In this post, I’d like to share a lesson learned by one of the teams at O&B. They were using…
Read More »