What is a JavaBean exactly?

后端 未结 19 2124
清酒与你
清酒与你 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:22

    You will find Serialization useful when deploying your project across multiple servers since beans will be persisted and transferred across them.

提交回复
热议问题