menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

The POJO c...
source image

Medium

1w

read

59

img
dot

Image Credit: Medium

The POJO class and the Java Bean class

  • POJO stands for Plain Old Java Object. It is a simple object that is not bound by any special restriction. POJO class doesn’t follow any special conventions or frameworks.
  • Java Bean is a unique kind of Java class that follows certain guidelines and is frequently used to encapsulate data in Java applications. Java Beans can be easily instantiated using the Class.newInstance() method.
  • While both POJO and Java Bean are simple Java classes, Java Beans follow stricter conventions, such as implementing Serializable and having getter/setter methods. A POJO doesn’t necessarily need to follow these rules.

Read Full Article

like

3 Likes

For uninterrupted reading, download the app