are there any other ways to get/set a Java Bean

China
April 24, 2011 1:26am CST
Java Bean is a criterion a Java object. We can access a Java Bean with the simple way, treating a Java Bean as a Java object. My question is that is there any other way to access a Java Bean. Because I think Java Bean should have some standard way to access it, otherwist it means a Java Bean is equals to a simle Java object.
2 responses
@owlwings (43910)
• Cambridge, England
24 Apr 11
A bean IS an object. There are two ways of accessing a bean. See the explanation and examples here: http://en.wikibooks.org/wiki/Java_Programming/Java_Beans
• China
24 Apr 11
Thanks owlwings, your answer lets me understand Java Bean deeply.
@jackycui (32)
• China
24 Apr 11
You can use package - java.beans to handle it. Below is the link: http://www.javaol.net/2011/04/getting-and-setting-a-property-of-a-bean/