• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Class Diagram Part II

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

I am using JPA in my assignment but I have doubts, I have watched different points of view related to the level of detail in the class diagram, but I think to show a complete solution, I need to add in the diagram, the EntityManager and the Query interfaces, but I do not know how to put them in the diagram, Is correct to add them like interfaces showing the methods I am using or I should treat them like implementation classes ?

Thanks in advance.
 
Ranch Hand
Posts: 125
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even I am using JPA in my assignment but I am not mentioning about EntityManager in class diagram, my is more or less similar to Cade's sample assignment. About the EntityManager its described in sequence diagram rather than class diagram.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you want to use better split the class diagram into Web tier , business and EIS tier.

In my class diagram i'am not showing that much detail, showing the controller, session beans,jsp's , pojo's and their relationships.
 
Miguel Angel Salto
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thank's kumar naresh and Sreenivas P Kumar, but I think, that is the point, I read that all the elements you are showing in the sequence diagram must be present in the class diagram.
A lot of people think the Cade's sample has many errors (https://coderanch.com/how-to/java/CadeSheilSceaFaq).

¿Could I lose marks if I add these classes?

Greetings



 
reply
    Bookmark Topic Watch Topic
  • New Topic