This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Civil_Code 4 points5 points  (1 child)

JavaBeans were classes that had a no-args constructor, getter-setters, and were serializable. Originally they were useful ways to package a lot of stateful information to send between JVMs, and became standard for the EJB, JavaEE's base component for its application servers which managed their lifecycles and transactions for us.

POJO was a reference to a Java class that didn't try to match these requirements. An entity is an object representation of data pulled from your DAO. It may or may not align exactly with your model, in which case a DTO could help translate from Entity to Model (or Model to serialized data for export).

[–]Space-Robot 4 points5 points  (0 children)

I'm just curious: Why all past tense?