what's javaBean

A JavaBean is a Java object that satisfies certain programming conventions:

  1. The JavaBean class must implement either Serializable or Externalizable

  2. The JavaBean class must have a no-arg constructor

  3. All JavaBean properties must have public setter and getter methods

  4. All JavaBean instance variables should be private

posted @ 2016-05-27 08:35  十年寒窗无人问  阅读(158)  评论(0)    收藏  举报