Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Regarding Class Design in 1Z0-865 (Assignment)

Posts: 24
Oracle Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Team,

I am working on 1z0-865 exam. Few queries regarding class diagram contents.

1) If DTO and Entity have same attributes then is it really required to show in class diagram ?
For Example - From servlet to EJB , I am passing DTO object and from Bean to DAO , I am passing entity object to persist in database using JPA.

Difference between DTO and Entity :
All entity classes having  @Entity annotation and related onetomany or manytoone or onetoone relationship.
Attributes level , both are same.

I am using UML compliance free product to design Class Diagram for complete system.

Can we show only Class diagram empty box with <<Entity>>EntityName instead of showing all attributes with mapping ? with one note in box like attributes are same as DTO.

Looking forward to your prompt response.

Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic