EJB programming & troubleshooting: Pattern : EJB 3.0 Entity beans and Data Trasfer Object

  1. Hi all, Can we talk about ... 1. Do one really need a DTO if using EJB 3.0 or Hibernate 2. How does Transfer Objects differ from that of EJB 3.0 entity beans or hibernate POJOs ? Thanks ~pp
  2. Like in spring and hibernate framework patterns, the domain object will represent the mapping object to the relational world and presentation tier as transfer object... diff between ejb 3.0 entity beans or hibernate POJOs..not much they are same... http://www-128.ibm.com/developerworks/java/library/j-ejb3jpa.html