Ok some of you are probably already familiar with the Apache Commons‘ BeanUtils framework, so this might not come as a surprise, but I have just discovered recently a class which I found myself in the past implementing bits of, one way or another: the BeanMap class! I swear, when dealing with loading random properties […]
Posts Tagged: apache commons
Data Validation inside a List
Felt like sharing this, since there might be some other “dinosaurs” like myself (i.e. slow in their using the Apache Commons Collections) — and those guys might find this useful 🙂 Occasionally you find yourself providing components that will be used by various modules in a project, and as such you have to employ strict […]
Apache Commons Collections
I discovered this recently myself (having not been a big fan of Apache Commons Collections in the past) — and it’s a useful feature if you are dealing with a list of objects that can be compared by more than one property. For instance, consider you have a list of Person’s (see class below) which […]