Originally posted by Ilja Preuss:
POJO is a more general term - a VO will typically also be a POJO.
String and the wrapper classes Integer, Byte etc. are good examples for VOs.
Indeed, but I thought it might confuse somebody. Like, Integer and String can be a POJO, can you explain it how. I believe POJO is a likely term and many design pattern tutorials and books used POJO as an example of a VO instead of Integer, Byte and Strnig. So, if anybody pick some tutorial it is likely that he/she would get the thing.
Nevertheless, Intger, Byte, and String etc. are good examples of VO is worth mentioning.
I'm not contradicting in any manner. I dare not.