Reading the wikipedia publication on POJO (Plain Old Java Objects), I came across the term pre-specified classes. I understood very superficially that perhaps it is the classes of the specification, but it was not very clear.
Could you explain it better?
Definition
Ideally speaking, a POJO is a Java object not limited by some constraint other than those forced by Java Language Specification. In other words, a POJO should:
Do not extend pre-specified classes, as in public class Foo extends javax.servlet.http.HttpServlet {... Do not implement pre-specified interfaces, such as in public class Bar implements javax.ejb.EntityBean {... Do not contain pre-specified annotations, as in @ javax.persistence.Entity public class Baz {...