Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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

Posts: 23
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.

Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!