This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
can anyone explain in detail when attributes become beans???
posted 10 years ago
Bean is an object that follows JavaBeans programming methodology. The simplest bean has private attributes and so-called getters and setters. They are the methods, which get the property and set it. The more complicated bean has also some events and event listeners attached, but they are not used usually in web applications.
So, every attribute, that follows JavaBeans methodology is a bean; and that's why the answer to question "when attributes become beans?" is "when developer developes the attribute classes to be beans".