java web application configuration validation---mybatis, spring .etc