Validating forms with the Spring Framework provides you with several development alternatives. There is JSR-303 and the Spring Modules Validation library. I discuss how to validate beans using Spring Modules Validation annotations and create custom error messages for any invalid inputs.
Spring Bean Validation: Error code list for Custom Error Message
August 13th, 2010 No Comments
Tags: @Controller · annotation · annotations · error · error code · Error message · error messages · Java · jsr-303 · spring · spring framework · spring modules · Spring MVC Controller · springmodules · validation · Validation library · web application · Web application frameworks
Google App Engine: Brief First Impression
October 6th, 2009 No Comments
Started playing with the Google Apps Engine last night. Now that Java is supported, even I can be lured after the magical charm of what is close to the infinite scalability holy grail. These are my impressions spending a couple of hours with the tutorial: 1. Eclipse makes it easy Google created a pretty nifty [...]
Tags: Google · google app engine · hosting · Java · jdo · jpa · jsp · orm · programming · servlet
Generating Short Alphanumeric Identifiers in Java
January 4th, 2009 No Comments
I will make it short and sweet, for a change: suppose you have a large number that you want to distribute to users, and you want to instead to give them a shorter, easier to share string of characters. 220p9 instead of 3453453. Neat, no? I grappled with this, being a moron, for way too [...]
Tags: id · ids · Java · radix · short · unique identifiers · UUID