This forum is for Servlets only questions, please try to post your thread in the most appropriate forum, and not just the first one on the list. (It's the morning, and I not a good morning person, that is why this sounds grumpy. Sorry.)
DAO is a class that usually has the CRUD operations like save, update, delete. Whereas the DTO is just an object that holds data. It is really a glorified JavaBean with instance variables and setter and getters. Usually it is the DTO that is passed to the save method of a DAO.
Data Access Object (DAO) Data Transfer Object (DTO).
But check out the link posted above, I am sure it goes into much more detail.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Paul Michael Laborte: DTO is also commonly known as VO or Value Object.
Value Object is the old name for the J2EE pattern. The J2EE patterns team hadn't noticed that there already was a Value Object pattern with a different meaning in popular use. When they discovered that their pattern also already existed under the name of Data Transfer Object, they decided to rename it to Transfer Object for J2EE... :roll: