Alex Rivera | Logout

Difference between DTO, VO, POJO, JavaBeans?

Asked 2009-10-23T09:30:36.483
685

Have seen some similar questions:

Can you also please tell me the contexts in which they are used? Or the purpose of them?

Edit
Report

1 Answer

67

Basically,

DTO: "Data transfer objects " can travel between seperate layers in software architecture.

VO: "Value objects " hold a object such as Integer,Money etc.

POJO: Plain Old Java Object which is not a special object.

Java Beans: requires a Java Class to be serializable, have a no-arg constructor and a getter and setter for each field

answered 2013-07-15T09:49:16.273

Your Answer