1. POJO or DTO approach stackoverflow.comI am developing a new web application with Struts2, Spring and Hibernate as its core building blocks. We have created POJO classes with respect to hibernate mapping files.There will be some inputs ... |
2. Design issue (POJO and DTO/VO) forum.hibernate.orgI am using struts -> Java Object (business Tier, e.g. Spring) -> Hibernate. General practice for sendnig data to DAO is through DTO/VO for coarse grain data transfer. With hibernate we have POJO which is same as DTO. Is it good practice to use POJO for data transfer from presentation tier to Hibernate DAO, that means web tier will instantiate the ... |