SMART System –The Design and Development of The Framework
The SMART system is a new type of intelligent information management system for online examination. The system has mostly realized the function that the students can do the online exam and the teachers can manage and maintain the exam information of students on SMART System. In this paper, how to construct a system framework of good expansibility, maintainability, and reliability is discussing in detail according to the non-functionality need of the Smart system, which is based on Struts, Spring, and Hibernate. The system framework is divided into three layers, and they are view layer, business layer, and persistent layer. We can do expansion-designing of Struts in the process of the framework designing which bases on the view layer, also the encapsulation of the custom tag and the compiled language for the basic interface of action are finished according to the request of the system. In this system, the business layer is a combo of single-example mode and IoC mode, so the compiled language for the common deputize and the encapsulation of the business logic interface have been realized. The realized mode that is applied to the framework design of the persistent layer is based on the framework of the persistent layer in existence, also the encapsulation of creating example for Session and the encapsulation of database for common use are realized. As a result, it will reduce the coupling, and a lot of temporary objects created in this process will be avoided.
Favorable expansibility and maintainability can be achieved in this system framework. This frame is not only applied to the systemic development but also can be applied to the most B/S system which bases on the frame of SSH in the field of J2EE.
Key words: Design Pattern; OpenSource; Domain Modeling; The framework of System