JavaBeans Design Conventions
These conventions are:
-A bean class must have a zero argument constructor
-A bean class should not have any public instance variables/attributes (fields)
-Private values should be accessed through setters/getters
-A bean class must be serializable
-A bean class must have a zero argument constructor
-A bean class should not have any public instance variables/attributes (fields)
-Private values should be accessed through setters/getters
-A bean class must be serializable
JavaBeans Design Conventions
Reviewed by MCH
on
April 18, 2014
Rating:
No comments: