aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes when attributes are beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "when attributes are beans" Watch "when attributes are beans" New topic
Author

when attributes are beans

samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
can anyone explain in detail
when attributes become beans???
Sergey Tyulkin
Ranch Hand

Joined: May 10, 2005
Posts: 87
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".
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when attributes are beans