基于java的校园二手网站的设计与实现
摘 要
伴随着电子商务的飞速发展,网上交易日益发挥出其不可替代的优越性。但由于电子商务在校园的应用起步较晚,以及校园电子商务模式应用的不成熟,使高校校园电子商务的发展缓慢。
二手商品交易网站是一个服务于在校学生的C2C(Custom to Custom)的交易网站,通过本网站用户可自由出售和购买商品,为广大学生提供了平等互利、方便快捷的交易空间。系统的主要功能包括:会员管理、类别管理、用户注册、商品发布、商品审核。
设计任务在于建立一个主要由在校学生参与使用的二手商品交易网站。学生的二手资料,生活用品,毕业在即的处理物品,都可在这个交易平台上发布使用,此设计目的在于设计一个供在校学生使用的商品交易网。
我们希望通过对本课题的研究,能对平时的软件设计的基础知识,网站设计的流程,JSP动态页面的设计,界面的美工美化技巧有一个全面的认识和理解,进一步熟悉自己的所学知识,结合实践以便在以后的工作中能尽快的适应网站开发工作。
本系统采用JSP/servlet技术,是使用Java编程语言编写的一套校园网二手交易平台软件。系统采用的是最近几年流行的B/S开发模式,是通过互联网这种方式来运行,在我们的服务器端,仅仅需要安装一个系统,那么在我们的客户端中如果可以正常上网,那么就可以通过系统中自带的浏览器来访问我们的这个系统,通过系统可以进行浏览信息,通过这样可以免去了传统模式下一系列的复杂操作。因为本系统是使用的Java语言,所以我们的系统也具有了Java 的一系列特性,正是因为本系统有它的支持,让我们的系统具有了价值高的特点。
系统开发采用了实现MVC模式的Web应用组件:Struts,实现数据持久化功能的ORM组件:Hibernate,用JSP进行界面处理,数据库采用比较稳定的MySQL 5.0,并用JDBC进行数据库访问。
关键词:二手交易网;网上商店;JSP;Struts
Campus Second-hand Website Design and Implementation Based On JAVA
Abstract
With the rapid development of e-commerce, online trading has to play its irreplaceable advantages. But because of electronic commerce in the campus application starts relatively late, and the campus electronic commerce application is not mature, so that the development of campus e-commerce is slow.
Secondhand goods transactions website is a service to the students of C2C ( Custom to Custom ) transaction website, through the web site, users can freely buy and sell goods, provides students with equality and mutual benefit, convenient and efficient trading spaces. The main functions of the system include: membership management, category management, user registration, product releases, product review.
The design duty lies in establishes mainly by to participate in the use in the school student two commodity exchanges website. Student's two materials, the daily necessities, graduate in namely the processing goods, all may issue the use in this transaction platform, this design goal lies in designs for the commodity exchange network which uses in the school student.
We hoped to through this topic research,that can know elementary knowledge which designs to the usual software. The website design flow, the JSP dynamic page design, the contact surface art designing beautify the skill to have a comprehensive understanding and the understanding. Further is familiar with own studies the knowledge.The union practice in order to in the later work will be able the as soon as possible adaption website development work.
This system is a set of platform software of the campus-wide system secondhand transaction. It adopts the JSP/J2EE technique, and programmed with Java programming language. It also adopts the B/S development mode, which is based on Web and popularize in recent years. It runs in internet ways. Only when the server install this system and the client can visit it, browse and release some secondhand conveniently and speedily when they go on-line. And so it dispenses with such operation as the complicated installing, installment and support in traditional C/S mode. At the same time, it uses the Java language which towards the OOP(object-oriented programming).So the system has the specific property of towarding OOP, irrelevant with the platform ,the Java language’s support to the network programming technique makes the system have high practical value.
The System using the components of Web applications: Struts to achieve MVC model, using the ORM components: Hibernate to achieve data persistence features, using JSP + HTML + JavaScript to Show page. using Relatively stable database MySQL 5.0, and use JDBC to visit.
Key words: secondary trading networks; online store; JSP; Struts
目 录
631
附录38