Forums Register Login

questions about the class diagram

+Pie Number of slices to send: Send
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.....

+Pie Number of slices to send: Send
 

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.
+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 

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....



+Pie Number of slices to send: Send
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
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2242 times.
Similar Threads
Representing VOs
Sequence diagrams and Class Diagrams
number of component diagrams ???
diagram questions
Missing details in class diagram?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 09:03:03.