What is a JavaBean exactly?

后端 未结 19 1925
清酒与你
清酒与你 2020-11-22 01:55

I understood, I think, that a \"Bean\" is a Java class with properties and getters/setters. As much as I understand, it is the equivalent of a C struct. Is that true?

<
19条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 02:29

    To understand JavaBean you need to notice the followings: JavaBean is a conceptual stuff and can not represent a class of specific things

    JavaBean is a development tool can be visualized in the operation of reusable software components

    JavaBean is based on the Sun JavaBeans specification and can be reusable components. Its biggest feature is the re-usability.

提交回复
热议问题