What is meaning of Plain Old Java Object (POJO)?

前端 未结 8 1514
别跟我提以往
别跟我提以往 2020-12-12 15:43

What does the term Plain Old Java Object (POJO) mean? I couldn\'t find anything explanatory enough.

POJO\'s Wikipedia page says that POJO is an ordinary Jav

8条回答
  •  遥遥无期
    2020-12-12 16:18

    POJO is a Plain Old Java Object - as compared to something needing Enterprise Edition's (J2EE) stuff (beans etc...).

    POJO is not really a hard-and-fast definition, and more of a hand-wavy way of describing "normal" non-enterprise Java Objects. Whether using an external library or framework makes an object POJO or not is kind of in the eye of the beholder, largely depending on WHAT library/framework, although I'd venture to guess that a framework would make something less of a POJO

提交回复
热议问题