wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
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