Difference between DTO, VO, POJO, JavaBeans?

后端 未结 7 1732
误落风尘
误落风尘 2020-11-22 07:46

Have seen some similar questions:

  • What is the difference between a JavaBean and a POJO?
  • What is the Difference Between POJO (Plain Old Java Object) an
相关标签:
7条回答
  • 2020-11-22 08:26

    First Talk About

    Normal Class - that's mean any class define that's a normally in java it's means you create different type of method properties etc.
    Bean - Bean is nothing it's only a object of that particular class using this bean you can access your java class same as object..

    and after that talk about last one POJO

    POJO - POJO is that class which have no any services it's have only a default constructor and private property and those property for setting a value corresponding setter and getter methods. It's short form of Plain Java Object.

    0 讨论(0)
提交回复
热议问题