This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "when attributes are beans" Watch "when attributes are beans" New topic

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".
Consider Paul's rocket mass heater.
subject: when attributes are beans
Similar Threads
HFEJB Transaction attributes
In session beans transaction attributes are specified for methods of EJBObject /Local
User Session - Servlet or SFSB
container-transaction Tag - Who is Responsible?
Transaction attributes