Spring MVC
-
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 » -
Enterprise Java
Implementing White-Labelling
Sometimes (very often in my experience) you need to support white-labelling of your application. You may normally run it in…
Read More » -
Enterprise Java
Dealing with Domain Objects in Spring MVC
I was recently surprised by how one code base had public default constructors (i.e. zero-arguments constructors) in all their domain…
Read More »