• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

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

 
Greenhorn
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.

Regards,
Ashish
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!