Font Size: a A A

Automatic Generation Technology Of The Communication Interface For The Software Using Client/Server Mode

Posted on:2003-10-12Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2168360062986135Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
More and more web applications appear as the Internet is widely used. Almost each web application has the requirement of communication and the model of communication. For the aim of software reuse, this paper designs and implements the status diagram in text style, the communication interface generator and the communication supporting class library according to the Domain Specific Language based application automatic generation, for the ordinarily used client/server mode for web applications. The generator of communication interface can generate the communication interface and code files for user from the inputted script of communication.The generated code provides a basic frame of the communication between the client and server. It grasps the essence of communication, using the status changes of the client and server, and the transmission of messages to control the whole procedure of the communication.The paper introduces the design and implementation of the generator of the communication interface for reuse, especially describes the reusable design of the product of the generator, the communication code, and how the generated code can be reused. It's the practical value of the paper.When designing the generated code, the paper introduces how to use the visitor pattern to make the code much easier to read and more expansible. To meet the need of communication, the paper describes the expansion of the visitor pattern, it makes the element classes of the visitor pattern able to accept more visits. It is the creation and the theoretical value of this paper.To sum up, the importance of the paper is: it directly converts the dynamic model of communication to program codes, finishes the automatic generation of-II-the communication interface, has the meaning of software reuse.
Keywords/Search Tags:communication, client/server, status, design pattern, automatic generation
PDF Full Text Request
Related items