Usually JavaPractices.com is a good site with good idea\'s, but this one troubles me: JavaBeans are bad.
The article cites several reasons, mainly that the term JavaBea
Its perfectly safe, and far more preferable than endlessly nested java.util.Map
. You gain type safety, easier to understand code, and avoid your code ending up on The Daily WTF. Note that the implementation should be segregated - don't mix too much logic (beyond simple validation) into your data storage classes. You should read about POJOs