My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Project Information
Members

This sample project is designed to demonstrate creating, modifying, aggregating, and using JSR 303 annotations. Spring MVC is the vehicle used to show off the validations as it provides great out-of-the-box support for JSR 303.

Concepts Illustrated in the Code

  • Single Field "Boxed" validation
  • Single Field Aggregate validation
  • Single Field Custom validation
  • Custom Cross-Field validation

Requirements

View Code

  • Git client to bring down the code

Run the Sample Application

  • Springsource Tool Suite (or another IDE that supports a Tomcat server)
  • Access to a Maven repository that contains the artifacts (list can be found in the POM file). Maven central will work

Nice to Know

Being familiar with the JSR 303 Bean Validation specification will help you understand more clearly whats going on. Additionally if you are planning to run the sample application you will benefit from knowing Spring MVC.

Powered by Google Project Hosting