• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
  • Carey Brown
  • salvin francis
  • Claude Moore

Regarding Class Design in 1Z0-865 (Assignment)  RSS feed

Posts: 24
Java Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • 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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!