Can some one explain the difference of each or is it same?
Entity class is the one we generate using JPA by mapping to the relevant table columns and with getter and setters for each data fileds right? eg: Customer table. we call the entity classes as domain classes or persistence classes right?
Then why DAO need for?