wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Class Diagram Part II Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Class Diagram Part II" Watch "Class Diagram Part II" New topic

Class Diagram Part II

Miguel Angel Salto

Joined: Aug 31, 2010
Posts: 7

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.

kumar naresh
Ranch Hand

Joined: Mar 12, 2011
Posts: 117
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.

Sreenivas P Kumar
Ranch Hand

Joined: May 22, 2011
Posts: 40
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

Joined: Aug 31, 2010
Posts: 7

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 (http://www.coderanch.com/how-to/java/CadeSheilSceaFaq).

┬┐Could I lose marks if I add these classes?


I agree. Here's the link: http://aspose.com/file-tools
subject: Class Diagram Part II
Similar Threads
Failed SCEA II - Class & Component diagram
Interfaces in Class Diagram ?
external system dependencies in class diagram
Failed Part 2 - Missing Component Diagram?
UML representation of EJB and JSPs