TADESSE TAREKE.pdf - Addis Ababa University
TADESSE TAREKE.pdf - Addis Ababa University
TADESSE TAREKE.pdf - Addis Ababa University
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Related Work Business Rules Object-Oriented Method<br />
addressed issues in object-oriented programming until the work of some<br />
researchers such as Yoder et al. [62] and Kienzle et al. [30]. For example, Kienzle<br />
et al. use the standard design patterns such as Serializer, Factory Method, and<br />
Strategy to produce a framework for persisting objects. The work of Sauer [51] is<br />
typically a lightweight framework for object relational mapping to Java Database<br />
Connectivity (JDBC). Sauer uses a number of standard design patterns such as<br />
Template, Strategy, Command, and Composite. This same work uses non-OO<br />
Relational DBMS (RDBMS) for its persistency mechanism.<br />
The work of Yoder et al. [62] is a pattern catalogue for connecting business objects<br />
to RDBMS (i.e., on how to persist objects to RDBMS). The paper selected RDBMS<br />
for a number of reasons: systems often need to store objects in RDBMS; systems<br />
often need the maturity of RDBMS; and other times, the corporate policy is to use<br />
RDBMS.<br />
Ambler [2] also presents how to design persistence layer avoiding hard coding<br />
SQL in business classes since such an act results in code that is difficult to<br />
maintain and extend. According to this work, even hard coding SQL in separate<br />
data classes or stored procedures is only slightly better. Ambler recommends a<br />
persistence layer that maps objects to persistence mechanism, which the author<br />
calls it robust persistence layer.<br />
A framework for relational database access layers is also provided in [61]. This<br />
same work is similar to the work of Sauer but the framework of [61] can be used for<br />
both OO and non-OO programming languages.<br />
15