GeeCON Prague 2014*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes questions about the 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 "questions about the class diagram" Watch "questions about the class diagram" New topic
Author

questions about the class diagram

mimi mang
Ranch Hand

Joined: Dec 02, 2009
Posts: 36
Hello Ranchers,

As most people here said the class diagram need show the BDOs. and it should be technology independent.
Then Those classes such as JSPs, JSF managed Beans, EJBs and those design patterns such as abstract factory, service locator, business delegate etcs will go to component diagram.

However, the assignment require that the methods used in communication diagram should be listed in class diagram as well. As such, How can I show the methods of those objects that located in component diagram but not in class diagram? Because apparently, those objects in component diagram need to be shown on communication diagram.

I am totally screwed up with this concern. How do you guys handle such case? Now I plan to provide other 2 more class diagrams: one for web tier, another for business tier. So there would be some overlap with these 3 class diagrams. Does this make sense?

Thanks in advance.....

J J Wright
Ranch Hand

Joined: Jul 02, 2008
Posts: 254
As most people here said the class diagram need show the BDOs. and it should be technology independent.


I don't know about other people, but my class diagrams included all kinds of objects; JPA entities, EJBs, web actions, utility classes, etc.

However, because I felt it was important to keep the purpose of individual diagrams concise, I did split my class diagrams along various, well defined, lines.

Ultimately, these are the decisions you have make as an architect.

SCJP, SCWCD, SCBCD, SCEA 5
Chiraunji Lal
Greenhorn

Joined: Dec 27, 2009
Posts: 7
I am planning to include all the classes in the same diagram but I guess this will make the diagram little messy. Can we create class diagrams for different layers?
Janis Kazakovs
Ranch Hand

Joined: Aug 13, 2009
Posts: 33
Your custom class becomes a JSF managed bean only in a container environment, which recognizes it as a JSF managed bean based on a configurations you made either by means of annotation or configuration in faces-config.xml file; the same applies to EJB. Otherwise, it is a simple POJO introduced by you in your design to handle a specific use case scenario, which specifies a contract a calling process should comply with in order to interact with your application. You should show it on your class diagram; how, otherwise, you will describe your application.

Janis


SCEA 5.0, SCBCD 5.0, SCWCD 1.4, SCJP 5.0
OMG-Certified UML Professional, Intermediate; OMG-Certified UML Professional, Fundamental
Bigwood Liu
Ranch Hand

Joined: Feb 26, 2003
Posts: 240
J J Wright wrote:
I don't know about other people, but my class diagrams included all kinds of objects; JPA entities, EJBs, web actions, utility classes, etc.

Agree

J J Wright wrote:
However, because I felt it was important to keep the purpose of individual diagrams concise, I did split my class diagrams along various, well defined, lines.

do you mean you split the class diagram to several sub class diagrams? My assignment (big smokes) writes:
Create a class diagram for the SuD....



rana izzat
Greenhorn

Joined: Jan 20, 2010
Posts: 20
Dear Experts,

Are these classes fair enough to provide the required solution at class diagram level?
DAO,Business Delegate,Managed Bean,JPA,Service Helper along with Manager,Controller and major POJO classes

Please highlight if anything is missing or invalid. Because 'Missing information is missing marks...'

-Rana Izzat
 
GeeCON Prague 2014
 
subject: questions about the class diagram