An Example explaining on how @Required annotation from Spring Framework works. Provides sample on how to use @Required and expected exception if beans are not properly configured like BeanInitializationException or Property is required for bean.
This tutorial covers adding validations to forms during submission using Validator interface from Spring. This is part of the Spring MVC tutorial series.