• 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

questions about the class diagram

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.....

 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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



 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic