UML and Relational DataBase
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Carlos_Lopez
Posted On:   Friday, March 8, 2002 07:28 AM

Iam making a project in Java, with UML


methodology. Is a contradiction tu use


Microsoft Access "DataBase" since it's


a relational DataBase and UML is OO?


Thanks




CELH

Re: UML and Relational DataBase

Posted By:   Frederic_Fondement  
Posted On:   Tuesday, May 14, 2002 02:09 AM

Object to relational mapping is a quite well improved technique, so, getting benefits of relational database performances (for object persistency, like EJB) is not a bad idea, although I think Access is not the best (compared to Oracle, MySQL...).

I know two products, by ObjeXion (but many others exists; see the OMG site) that will make this for you. Model prototyper reads a Rose class diagram and turns it into an Access database; then Facsimile allows object creation / modification / destruction with a classic GUI or a COM interface.

Netsilon is more web-oriented in that it can generate PHP, Servlet or JSP, using databases MySQL, Oracle or PostgreSQL. You can imagine generate (full java code) only for class diagrams and use generated classes that will be auto-persistent in the database. You can also generate a web interface for object administration. Contact support at objexion.com for more informations.

Re: UML and Relational DataBase

Posted By:   Yadagiri_Potla  
Posted On:   Tuesday, March 12, 2002 07:54 AM

Usually, a OO Database such as Oracle8 is used. However, if you want to use other databases such as Access, you can use it. You may generate DDL (SQL script) for the classes and create the tables during implementation. Remember that you are not taking the advantage of OO completely in this case.

Re: UML and Relational DataBase

Posted By:   Dermot_Hennessy  
Posted On:   Monday, March 11, 2002 07:41 PM

UML is not a methodology, it's a modelling language. And it can model databases and even processes, so the answer is no. You may wish to model an adapter class between your database and your OO stuff. Have a look at www.rational.com to see one UML based development methodology.

Dermot

About | Sitemap | Contact