Validable { Set<Error> valid(); } public abstract class AbstractValidable implements Validable { public Set<Error> valid() {} } public class User extends AbstractValidable { ... }
Reference: Part V. The Web http://static.springsource.org/spring/docs/3.0.x/spring-framework- reference/html/spring-web.html •Youtube/Slideshare http://is.gd/a7JAC http://is.gd/a7JO0 •Spring WebFlow http://www.springsource.org/webflow •Spring-WS http://static.springsource.org/spring-ws/sites/1.5/