• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Component Diagram - how detailed it should be?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is what it asks in deliverables section of the assignment:
"Create a Component diagram that shows all of the J2EE components used in the system and their interaction. For example, what EJBs, Servlets, and/or JSPs might be needed? "
I personally do not believe that it is good idea to show each JSP, Session and Entity Beans in a component diagram.
I am wondering what you guys think? Did you guys create a component diagram that shows all JSPs and EJBs etc?
Thanks.
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
nope, maybe just a front controller, following Cade's design.
Because I have 2 different clients, and only one has JSPs, i'm still thinking of not showing anything at all (just a generic "Client"), or maybe using a "VIEW" stereotype - that would depict both JSPs and some Swing panels, what do u think?
Rudi
 
Ahmet Emre
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I totall agree with you, this is what makes sense... In fact, I created a component diagram similar to what you said with major players such as view and front controller. However, I am worried that what they ask in assignment is not what we think (and what makes sense!)...
If they ask one simple class diagram without all EJBs and JSPs involved, and one component diagram with all JSPs and EJBs, there is something wrong either the way I am experiencing J2EE, or something wrong in the wording of the assignment.
I am afraid, if we come up with a component diagram that we described, they might reject it at all which is 44 points which means failure...
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you are missing the point of a component diagram. It is supposed to show the developers how the parts of your system interact. If you don't show the jsp's then how would a developer that the uml gets sent to know how to construct the application?
 
Ahmet Emre
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would think that showing each JSP or EJBs would make more sense in detailed class diagrams. And you have more options in terms of showing relationships in class diagram than component diagram.
 
Rudi Vaum
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how will u show a jsp in a class diagram?
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with Scott, the component diagram should at the minimum indicate the component technologies used to realize the design. As for JSP stereotype in a class diagram, that will be way out. You could have a "view" stereotype instead to decribe your jsp component classes.
Louis.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ahmet Emre:
I would think that showing each JSP or EJBs would make more sense in detailed class diagrams. And you have more options in terms of showing relationships in class diagram than component diagram.



See whether my post in
https://coderanch.com/t/150649/java-Architect-SCEA/certification/purpose-Component-Diagram
is of any help.
Nalla
 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic