• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Managed Bean in sequence diagram

 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

If JSF used for the assignment can we show a generic controller (in this case Faces Servelt) instead of managed beans for each jsp for sequence diagram.

The reason for BigSmoke cigars, check out use case has 7 steps in the flow.

Please advice.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the same assignment-i have shown each and every jsp and the managed/backing bean.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ashutosh.

One quick clarification in assignment.
For showing the availability of cigars information from manufactures, should we provide an admin screen so that inventory manager can see this information easily ?

Please adivce

thanks
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry i cannot answer the question which is leading to almost the solution.
You should have the way in your solution where one can find out the falling inventory levels of the cigars-how?? this is something you need to design.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ashutosh,

I have atatched two images for sequence, please let me know which one is more clear.

1. Sample.jpeg has jsp and managed beans, all grouped in presentation layer

2. Sample.jpeg has jsp in box (presentatio tier) and managed beans (presentation tier, separate box)
sample.jpg
[Thumbnail for sample.jpg]
sample1.jpg
[Thumbnail for sample1.jpg]
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is this? A class diagram or sequence diagram?

For class diagrams-you just don't have to literally follow Cade. I never shown any boundary like presentation tier or business tier in my class diagrams. One can use a color coding scheme to show the various layers or tiers.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Component diagram. cade shield as all the tiers specifed component diagram.

I should have changed the subject of the posting
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John,
Second one is correct. You need to put all the presentation tier components within that boundary(presentation tier) only. As my component diagram was bit cluttered - i took away all such boundaries and used the color coding for various tiers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic