Prev Next

Arquillian / Arquillian tutorials

Difference between Java bean and POJO.

A Java bean is compliant to certain conventions- Getter/setter naming, having a public default constructor, being serializable etc.

POJO is an acronym for Plain Old Java Object. The name is used to emphasize that a given object is an ordinary Java Object, not a special object

A POJO is a Java object that doesn't have a convention/rules to implement a particular interface or derive from a particular base class, or make use of particular annotations in order to be compatible with a given framework, and can be any arbitrary (often relatively simple) Java object.

More Related questions...

Show more question and Answers...


Comments & Discussions