Map Validation Integration with Java