• Post Reply Bookmark Topic Watch Topic
  • New Topic

when attributes are beans

 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone explain in detail
when attributes become beans???
 
Sergey Tyulkin
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!