[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DataBase in Sequence Diagrams?

Posted on 2005-05-06
2
Medium Priority
?
2,571 Views
Last Modified: 2013-11-12

Hi All,

I am developing a sequence diagram for my program..
My GUI Window is supposed to save some info in the DB..
How can I show the Database in the sequence diagram?
Can I draw an arrow from the the GUIObject to a new object called DataBase?


Thanx
SEstudent
0
Comment
Question by:SEstudent
2 Comments
 
LVL 9

Accepted Solution

by:
tinchos earned 400 total points
ID: 13947606
Hi

What I would recommend is that you wrap the behaviour of the database in a Wrapper Object. This means to have a class who handles all the accesses to the database.

In this way the behaviour of the class will be pretty clear and in your sequence diagram, instead of calling the save method to the database, you can call the save method to this wrapper object.

Hope this helps

Tincho
0
 

Author Comment

by:SEstudent
ID: 13950327

Thanx tinchos..
That helped :]
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article discusses the Chain of Responsibility pattern, explaining What it is;Why it is; andHow it is At the end of this article, I hope you will be able to describe the use and benefits of Chain of Responsibility.  Backgrou…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month19 days, 10 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question