Yes indeed, which is why, when using Rose Data Modeler, you create it on the
Component diagram.  Its is used there to establish the how your physical
storage is configured (i.e. what tablespaces are defined for which
databases).

As to the interfaces, you can show your .exe components on that same
diagram.  Dependencies between the two can indicate what apps interface to
what DBs.  However, it may be more valuable to show the dependencies between
tablespaces and the app components (depends on the complexity of your
system).  After all, when you get down to it, an application doesn't access
"the database".  It accesses specific tables in the database.

On the class diagram, having a "class" representing "the database" doesn't
get you very much.  Architecturally speaking, it is better to separate out
your app's interface to the database as an architectural "layer" (i.e. a
data access layer).  Showing how your app uses that interface layer can and
should be shown on a class diagram.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert A. Maksimchuk
Data Modeling Evangelist
R a t i o n a l
    the e-development company
Phone: (610)-940-2124
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: Couball, James [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 4:15 PM
To: 'Maksimchuk, Robert'; Chris Condos; 'Rose Forum'
Subject: RE: (ROSE) database on class diagram


Wouldn't a database be a type of component?  That is, some physical world
thing that has some interface?

Sincerely,
James.

-----Original Message-----
From: Maksimchuk, Robert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 11:17 AM
To: Chris Condos; 'Rose Forum'
Subject: RE: (ROSE) database on class diagram



I don't think that would serve much of a purpose.  It would be more useful
to show the data access layer you will use to access the database.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert A. Maksimchuk
Data Modeling Evangelist
R a t i o n a l
    the e-development company
Phone: (610)-940-2124
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: Chris Condos [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 11:19 AM
To: 'Rose Forum'
Subject: (ROSE) database on class diagram



Folks,

just a quick question:

say, you have to produce a class diagram for a system that needs to access
an external database. would you actually show the database on the class
diagram (as a stereotype class maybe) or isn't that necessary?

Chris

---
Chris Condos,
School Of Mathematical & Information Sciences,
Computer Science Subject Group,
Coventry University,
Priory Street, CV1 5FB,
Coventry,
UK

Tel: +44 - 24 - 76 88 8519
e-mail: [EMAIL PROTECTED]

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to