基于J2EE架构网上书店的设计与实现
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
学号:281403117
题目:基于J2EE架构网上书店的设计与实现学院:信息学院
专业:计算机科学与技术
姓名:康乐
指导教师:任秀丽
完成日期: 2012年5月13日
摘要
随着互联网的普及,电子商务技术在不断的发展,Internet不仅给我们带来了无穷无尽的多媒体信息,更带来了商业模式和消费观念的变迁,这是对传统商业模式的一种挑战。随着大量电子商务网站的崛起,越来越多的人选择在网上进行购物。
相对传统的购书方式来说,网上购书的好处是多方面的,对于商家来说,可以有效的控制成本;对于客户来说,网上购书方便快捷、经济省时,足不出户就能买到想要的书籍,因此网上书店有很大的发展空间。而要满足这种大量的需求,需要一种强大快速、高效稳定的技术作为支撑。J2EE就是这样一种技术,它提供一个多层的分布式模型,是一组技术规范与指南,其中所包含的各类组件、服务架构及技术层次,均有共同的标准及规格。通过组建重用,允许多台服务器集成部署,具有稳定的可用性、可伸缩性。
本设计使用J2EE技术在网络上架构了一个网上书店,从理论和实际两个角度出发,对网上书店进行设计和实现。网上书店的主要有用户管理、购买图书、图书分类查看、图书检索等功能。在构建网站的过程中使用了多种技术,包括MVC的架构风格、多种设计模式等,合理的运用了各种技术的优势,力争开发出一个具有高健壮性、稳定性、易用性、可靠性的系统,为顾客在平时的生活中网上购买书籍提供强大的后台支撑,以满足顾客的网上购书需求。
全文共分为六个部分,第一部分主要介绍了电子商务的背景和本系统所使用的技术;第二部分介绍了本系统所涉及的各方面的需求;第三部分为本系统的总体设计思路、过程以及数据库的概念设计;第四部分为系统各个模块的详细设计和实现以及相关细节;第五部分为对系统部分功能的测试过程;第六部分是总结。
关键词:J2EE;设计模式;电子商务;网上书店;数据库
Abstract
With the spread of the Internet, the e-commerce technology is developing fast. The Internet brings us not only infinite multi-media information, but also brings the changes of commerce pattern and consuming concept, which is a challenge to the traditional commerce pattern. With the arising of many online shops, more and more people choose to shop online.
Compared with the way of buying books traditional, shopping online has a variety of advantage. To the merchants, they can control the costing easily. To the customers, it is so convenient and economical to buy books online; they do not have to go out of home to buy a book they like. So the online-bookstore has a great development. To mean the great need, we have to provide a powerful and efficient technology to support it. The J2EE technology is a kind of technology like this, it provide a variety-layer distribute model. It is a kind of technology standard and guide, the variety components and server architecture which contains have the same standard. By reuse the components, it allows deploy on many servers, which has high efficiency and high scalability.
This design builds an online-bookstore by using the J2EE technology. From the point of view of practice and theory, the online-bookstore is designed and realized. The primary function of the online-bookstore contains the management of the users, shopping on the bookstore and checking the book by different category. In the procedure of building the bookstore, many technologies are used, including the architecture of MVC style and many design models, the advantage of variety of many technology is full used, which sustain the need of the customer buying book online.
The text is divided into 6 parts. The first part introduces some background knowledge about e-commerce and the technology the design uses. The second part introduces the need of variety aspects the system involved. The third part gives the process, some ideas and related details in system designing, which also include the concept design of the database. The fourth part displays the detail design of every part of the system and related details. The fifth part introduces the test of the part of the system. The sixth part is the summary.