Reengenharia com Uso de Padrões de Projeto

Fernão S. R. GermanoMaria Istela CagninPaulo Cesar MasieroRosângela Penteado

The reengineering process of a system originally developed with procedural orientation in C is conducted with change to the object oriented paradigm. This process has been preceded by the object oriented reverse engineering of the legacy system using the method Fusion/RE. It has also been preceded by a first phase in which C is preserved; and uses a segmentation process in which the code is restructured to satisfy some object oriented requirements. Java and SyBase are used in this paper to generate three types of implementation according to the three alternative modes suggested by the Persistent Layer pattern. The operations of the CRUD pattern are implemented in the application classes (first mode), in the specific classes of each application class (second mode) and in a Broker class that does the mapping of all the object types to the relational database (third mode). Object Models of the different implementations and examples of source code are included to ilustrate the evolution obtained with the three configurations. These are used to evaluate the segmentationprocess which results in an implementation similar to that obtained through the first mode suggested by the Persistent Layer pattern as the inheritance involved in it is pratically restricted to the methods signature in the abstract class. This is compatible with the lack of inheritance in the C language.

Caso o link acima esteja inválido, faça uma busca pelo texto completo na Web: Buscar na Web

Biblioteca Digital Brasileira de Computação - Contato:
     Mantida por: