aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Missing details in class diagram? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Missing details in class diagram?" Watch "Missing details in class diagram?" New topic
Author

Missing details in class diagram?

Viggo Navarsete
Ranch Hand

Joined: Feb 02, 2009
Posts: 42
I failed on my assignment, and the feedback was "Missing EJBs/explanation, iMissing DAOs/integration classes referenced on other diagrams, also missing interfaces to external systems".

Questions:
1. I have seen both pros and cons for showing DAOs in class diagrams. Since I've shown it in the component diagram (without any complaints!), should I either remove it from the component diagram, or add it to the class diagram?
2. What could be missing about the EJBs? I annotated each EJB with @EJB, what else?
3. How should external systems be shown in a class diagram? Using Subsystem or package UML symbol?
4. EJB and interface: Should I show both interface and EJB (implementation) with public methods in class diagram?
Kanika Jain
Greenhorn

Joined: Jan 12, 2011
Posts: 6
This is so strange I also got the same comments "Missing EJBs/explanation" maybe same instructor looking for something specific details. I am also not sure maybe someone from the forum shed some light?

thanks.
Viggo Navarsete
Ranch Hand

Joined: Feb 02, 2009
Posts: 42
Kanika: Were you also missing the interfaces for the EJBs, could that be the problem?
Kanika Jain
Greenhorn

Joined: Jan 12, 2011
Posts: 6
Yes I did not add any interfaces? And what do you mean by that?
Ganesh Gopalakrishnan
Ranch Hand

Joined: Dec 10, 2010
Posts: 35
My Few Cents :

As the instruction in the assignment says, you will need to use Java/JEE components in design. So best choice for business tier would be EJBs and for intergration tier would be DAOs specifically for communication to external systems.
For DB, its at your own discretion/ design choice.
Your architecture should be N-Tier based clearly calling out the JEE components being used in the individual tiers, using design patterns as best/standard practices. As far as possible, try to follow n-tier architecture in all diagrams including class,component,deployment and sequence.

In addition to the above, I have provided notes for all diagrams and extensive explanation on sequence diagrams depicting detailed technical flow for each use case, ie. one sequence diagram per use case ( as per cade and humphery sheil suggestion in chapter 9 of their book )

Hope this helps!!!
Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 331

Just to add, I don't think an annotation of @EJB is sufficient, are they Statefull or Stateless? it's pretty important to distinguish the 2.
Kanika Jain
Greenhorn

Joined: Jan 12, 2011
Posts: 6
How about showing the annotations with the SessionBeans or Interfaces are better to show?
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1096
    
  10

Not showing interfaces for EJBs shouldn't be a problem...
You can use UML stereotypes or annotations to show Session Beans. But, its important to show whether they are Stateless or Stateful - this can also be shown via annotations or stereotypes.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Sanjai Mishra
Greenhorn

Joined: Aug 26, 2010
Posts: 6
Hi All,

I have received result but comment of every topic "Missing/broken link from html file to diagram image file" , how I verify my assignment uploaded properly or not ?

Thanks,
Sanjay
Kanika Jain
Greenhorn

Joined: Jan 12, 2011
Posts: 6
I had shown what beans are stateless and entity using stereotype. Not sure then what else was missing, I didn't use DAO as I mentioned I would be using JPA/POJOs/entity beans would be used. The only thing I would imagine I was missing was the interfaces for the SessionBeans... any other clues would be helpful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Missing details in class diagram?