Development of business logic validator module prototype
2012
Rukmanis, A., Latvia Univ. of Agriculture, Jelgava (Latvia)
The aim of the paper is to describe the development of business logic validator module in JAVA that will help ensure process of business data integrity on the bases of evaluation of documents. Insurance of maintainability of different web based information system document validation rules allows administrators to add, edit, delete or simply turn them off without restarting/redeploying application. Before starting the development validation’s rule definition language and the rules themselves, it is necessary to analyze the documents used in practice and classify the types of web documents. Template for inspection of web document should be developed, and test algorithms set, depending on the web document templates. There are two main reasons of development of such module. First of them is to improve system’s maintainability, and the second is to reduce development time by reducing the amount of equal or similar code that is used for validation. In addition at the same time the amount of errors in the program code decreases. Validation module was developed on the bases of the prototype. It was integrated in several projects. Potential problems of maintainability were observed in practice if the module is based only on static number of tests, even if they cover 90% of necessary tests. Necessity for new tests can appear for system that already has been in production. After implementation of them reinstallation of the application is required. Research was carried out to solve the problem of storage of static methods. Format of storage using an artificial neural network was analyzed as one of the possible solutions. This research is not limited only by validation of document's business logics. Validation module can be used in any other application that requires dynamic validation depending on combination of existing and empty values, or of specific format.
显示更多 [+] 显示较少 [-]