Artigo Acesso aberto

Implementation of a database factory

1997; Association for Computing Machinery; Volume: 32; Issue: 6 Linguagem: Inglês

10.1145/261353.261354

ISSN

1558-1160

Autores

Asokan R. Selvaraj, Debasish Ghosh,

Tópico(s)

Software System Performance and Reliability

Resumo

Object oriented software systems that utilize relational databases for data-store have to deal with the problem of interfacing to the relational data. This aspect of the software is more relevant to the solution domain rather than the problem domain i.e., the business requirements of an application do not dictate that there be a mechanism that allows the application to store and retrieve relational data. Hence, de-coupling the application from the database and its interface is relevant from the perspective of portability that of the application to other kinds of databases. For example, it is conceivable the application may be required to work with relational databases from different vendors. This article shows an adaptation of the Factory Method Pattern and the Abstract Factory Pattern [1] as a generic solution to the problem of de-coupling application code from the underlying database and its associated interface mechanisms.

Referência(s)
Altmetric
PlumX