Font Size: a A A

Study Of B2C Shopping System Based On MDA

Posted on:2008-08-02Degree:MasterType:Thesis
Country:ChinaCandidate:X J ZhouFull Text:PDF
GTID:2178360242477117Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the booming flourish of the E-commerce, developments of B2C E-commerce are becoming more and more popular. As for traditional development, it trends to lead to low efficiency, difficulties in upgrade, inconsistencies between documents and codes, and cause repeat developments in similar systems. In this paper, MDD (Model Driven Development) is introduced to change this situation.The paper first analyzes the requirement of B2C shopping, and divides the system into three modules: customer module, shopping module and goods module. And then the N-layer software architecture for B2C shopping system is proposed. The two proposals together build the foundations of the study of B2C shopping system based on MDA.After studying the common requirement of B2C shopping system, the paper applies UML to design domain PIMs and realizes the conversions from PIMs to PSMs, PSMs to codes in Spring & Struts & Hibernate platform by creating & expending the cartridges of open source MDA tool AndroMDA, and also design patterns are introduced to improve the performance. At the same time, open source test framework TestNG is integrated with the andromda-spring cartrige of AndroMDA to improve the efficiency of test.At the end of paper, PIMs of B2C shopping system domain and the conversions from models to codes are used to build a project of B2C shopping system. By analyzing the project progress, time cost of coding phase is reduced by 95%, which sharply improves the efficiency. 95% of total codes are auto-generated by PIMs, which make codes and PIMs keep in a strong consistency. When developing similar systems, most of the domain PIMs can be reused and repeated developments are avoided. When upgrading technology,PIMs are reserved while the implementation of codes generation is only replaced.The success of constructing a project of B2C shopping system confirms the feasibility of the research result in this paper and provides a new method for the developments of B2C shopping system as well.The creative significance of this paper showed as follow:(1) Currently studies of applying MDA on business projects are rare, while the paper applies MDA on the B2C shopping system, and designs domain PIMs. (2) Realize the conversions from PIMs to PSMs, PSMs to codes in Spring & Struts & Hibernate platform through appropriate extensions of AndroMDA. (3) Integrate the open source test framework TestNG with the andromda-spring cartrige of AndroMDA. (4) Succeeding in constructing a project of B2C shopping system confirms the feasibility of applying MDA on business projects.
Keywords/Search Tags:B2C Shopping System, MDA, UML, AndroMDA, Maven, TestNG, Design Pattern
PDF Full Text Request
Related items