• 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

Usecase description system scope and sequence diagram

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I quite new in architecting and I have not come across this kind of scenario, am just confused. Any help with my questions below will be most appreciated.

1. When describing a usecase, most the scope of operation be within the system you are designing(SUD) or can it be anything. For instance, can it include a high level operation of an external system that interacts with the SUD. My thought is that, since your design in for the SUD, the operations of the external system is out of scope, effectively a black box with a public API. Or can you treat an external system as a white box too.
2. For the sequence diagram, can we draw a system sequence diagram when describing interactions of an external system or must it be a sequence diagram.


I hope my questions are clear enough, thanks for any assistance.
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Henry Chigere wrote:
1. When describing a usecase, most the scope of operation be within the system you are designing(SUD) or can it be anything. For instance, can it include a high level operation of an external system that interacts with the SUD. My thought is that, since your design in for the SUD, the operations of the external system is out of scope, effectively a black box with a public API. Or can you treat an external system as a white box too.



The scope will be within the assignment (SUD). The external systems can be treated as a black box with a known API, which is meaningful such as a function/API call checkAvailableInventory. Such function's return type is most likely boolean and its input parameter is an Inventory object to check. Other return type and input parms can bu used of course.

These external system API can be assumed

The level of detail for the sequence diagram is operation/method level as you go from presentation to business to integration/persistence tiers.

Henry Chigere wrote:
2. For the sequence diagram, can we draw a system sequence diagram when describing interactions of an external system or must it be a sequence diagram.



What's a "system sequence diagram" and how it's different from a normal sequence diagram?

When communicating with an external system, you will usually be calling web service API for that system

SUD your system -- checkAvailableInventory --> external system

<-- return true/false --
 
Harry Chuks
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tsang for the quick response. I was just confused with the way the usecase was described, it kind of looks like they where describing what the external system does in other to satisfy the usecase in question. That is why I was concerned about scope of the usecase. Thanks again.
 
Harry Chuks
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks
 
I didn't do it. You can't prove it. Nobody saw me. The sheep are lying! This tiny ad is my witness!
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