Skip to content

Instantly share code, notes, and snippets.

@syedanam
Created November 11, 2017 16:22
Show Gist options
  • Save syedanam/e72267755a41676242d17bb1e7a9f035 to your computer and use it in GitHub Desktop.
Save syedanam/e72267755a41676242d17bb1e7a9f035 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment