What are the properties of java beans?
Submitted by: AdministratorThe JavaBeans specification defines the following types of bean properties:
► Simple: A bean property with a single value whose changes are independent of changes in any other property.
► Indexed: A bean property that supports a range of values instead of a single value.
► Bound: A bean property for which a change to the property results in a notification being sent to some other bean.
► Constrained: A bean property for which a change to the property results in validation by another bean. The other bean may reject the change if it is not appropriate.
Bean properties can also be classified as follows:
► Writable: A bean property that can be changed:
► ► Standard
► ► Expert
► ► Preferred
► Read Only: A bean property that cannot be changed.
► Hidden: A bean property that can be changed. However, these properties are not disclosed with the BeanInfo class
Submitted by: Administrator
► Simple: A bean property with a single value whose changes are independent of changes in any other property.
► Indexed: A bean property that supports a range of values instead of a single value.
► Bound: A bean property for which a change to the property results in a notification being sent to some other bean.
► Constrained: A bean property for which a change to the property results in validation by another bean. The other bean may reject the change if it is not appropriate.
Bean properties can also be classified as follows:
► Writable: A bean property that can be changed:
► ► Standard
► ► Expert
► ► Preferred
► Read Only: A bean property that cannot be changed.
► Hidden: A bean property that can be changed. However, these properties are not disclosed with the BeanInfo class
Submitted by: Administrator
Read Online Java Beans Job Interview Questions And Answers
Top Java Beans Questions
☺ | What are Java Beans? |
☺ | What is the relationship between Enterprise JavaBeans and JavaBeans? |
☺ | What are introspection API in java beans? |
☺ | Why do I get a NullPointerException when loading a JAR file into the BeanBox? |
☺ | What are the purpose of introspection? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |