-
Normal Class
: A Java class -
Java Beans
:- All properties private (use getters/setters)
- A public no-argument constructor
- Implements Serializable.
-
Pojo
:
Plain Old Java Object is a Java object not bound by any restriction other than those forced by the Java Language Specification. I.e., a POJO should not have to- Extend prespecified classes
- Implement prespecified interface
- Contain prespecified annotations