POJO (English Plain Old Java Object) is a “good old Java object”, a simple Java object that is not inherited from a specific object and does not implement any service interfaces beyond those needed for a business model. It turns out POJO - a concept that describes a class that does not implement any interface and does not extend any class, has only fields, constructors, getters and setters?
- oneYes, this is just an ordinary class. - Andrew Grow
- ru.stackoverflow.com/q/581808/177345 - pavlofff
|
1 answer
What you describe is a Value Object . POJO is a class that does not use the special features of various frameworks such as Spring, EJB, etc. These frameworks appeared later and therefore the word "old" appears in the title.
- "is this a class that the special capabilities of various frameworks" implements? - bsuart
- More likely
не использует... - vp_arth - @vp_arth thanks. corrected. - Mikhail Vaysman
|