John John -4 years ago 130
Java Question

What is java pojo class, java bean, normal class?

Possible Duplicate:

Difference between DTO, VO, POJO, JavaBeans?

Hi please dont say my question is duplicate :-) i saw all questions but didnt understand exact difference.

Can some one explain about what is
Normal Class
in easy language.

Answer Source

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
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download