资源描述
大连交通大学信息工程学院
毕业设计(论文)任务书
题 目 后现代住宅销售与服务系统
任务及要求:
1.设计(研究)内容和要求
任务:
1、 调查电子商务技术发展近况,完成实习报告,字数不少于3000,第三周交给指导老师。
2、 结合自己实习情况安排进度,填写进度计划表,第二周完成后交给指导老师签字,并严格执行。
3、 按照软件工程思想,独立完成系统的设计和程序开发,完成代码估计2000行左右。
4、 用JSP技术实现后现代住宅定制与服务的功能。
5、 程序简洁,算法可行,运行情况良好。
要求:
1、 每周和指导老师至少见面沟通一次,回报课题进展情况,接受老师询问。
2、 接到任务书后,查阅与题目及专业相关的外文资料进行翻译,要求不少于10000个外文字符,译出汉字不得少于3000,于第四周交给指导老师审阅。
3、 毕业设计第13周完成毕业论文的装订,并由指导老师评阅。论文要求12000字以上,包括综述、系统总体设计、系统实现、性能分析、结论等。
4、 教学第13周通过中软及教研室组织进行软件验收,验收时要提供软件使用说明书。
5、 于第13周提出毕业答辩申请并签字。
6、 第14 周答辩,要求制作PPT
2.原始依据
通过大学几年的学习,已经学习了诸如软件工程、数据库原理及应用、数据结构、C++、Visual Basic、JAVA等多门程序设计语言和网络等基础知识和专业知识,学生有能力而且可以独立完成小中型项目的设计与开发。学校现有设备和环境可以提供给学生实习和上机,而且具有专业老师可以指导学生。
3.参考文献
[1] 汪孝宜.刘中兵.徐佳晶等编著.JSP数据库开发实例精粹[M].北京:电子工业出版社.2005
[2] 姚晓春.郑文清编著.Java编程技术教程[M].北京:清华大学出版社.1999
[3] 吴逸贤.吴目诚编著.Java2程序设计[M].北京:科学出版社.2003
[4] 飞思科技产品研发中心编著.Jsp应用开发详解[M].北京:电子工业出版社.2006
[5] 周竞涛.赵寒.王明微.等编著.Eclipse完全手册[M].北京:电子工业出版社.2006
[6] 张文静.林琪译.JSP程序设计.北京:人民邮电出版社[M].2006
[7] 孙卫琴.李洪成著.Tomcat与Java Web开发技术祥解[M].北京:电子工业出版社.2006
[8] Bruce Eckel著.Thinking In Java[M].北京:机械工业出版社.2006
[9] 陈威.白伟明.李楠著.JSP工程应用与项目实践[M].北京:机械工业出版社.2005
[10] 宋昆.李严著.SQL Server数据库开发实例解析[M].北京:机械工业出版社.2006
指导教师签字:
教研室主任签字:
2012年3月26日
大连交通大学信息工程学院
毕业设计(论文)进度计划与考核表
学生姓名
金双阳
专业班级
软件工程
08-2班
指导教师
王鑫
翟悦
本课题其他人员
无
题 目
后现代住宅销售与服务系统
日 期
计划完成内容
完成情况
指导老师检查签字
第1周
实习调研,查阅课题相关外文资料
第2周
了解行业状况、查阅文献资料,阅读资料,撰写调研报告
第3周
完成10000字符或3000汉字以上外文翻译资料,准备资料,学习JSP技术
第4周
进行需求分析
第5周
进行概要设计
第6周
进行概要设计, 基本框架完成,提交毕业论文提纲
第7周
完成后台数据库的设计并编码,完成部分论文
第8周
完成后台数据库的设计并编码,完成部分论文
第9周
继续编码并进行测试,继续编写毕业设计论文
第10周
继续进行程序测试,继续编写毕业设计论文
第11周
整理资料、文档、图表等,修改毕业设计论文
第12周
完成毕业设计论文,打印,按要求装订
第13周
软件验收和准备毕业设计答辩
第14周
毕业设计答辩及成绩评定
指导教师签字: 年 月 日
注:“计划完成内容”由学生本人认真填写,其它由指导教师考核时填写。
大连交通大学信息工程学院
毕业设计(论文)调研报告
学生姓名 金双阳 专业班级 软件工程08-2班
指导教师 王鑫 翟悦 职 称 高工 讲师
所在单位 信息科学系软件工程教研室
教研室主任 刘瑞杰
完成日期 2012 年 4 月 6 日
实习报告
1 课题来源及意义
如今,计算机网络技术已经深入到人们生活的各个方面,许多传统的事务以不再局限于纯物质形态,转而延伸到虚拟的网络平台上,房屋租售的交易也是如此。房屋租赁机构是我国的改革开放过的程中起步最早的、开拓发展最快、收效最为明显、市场化程度高的服务行业之一。在我国经济迅猛发展,全国各大城市人口对住房条件要求逐渐提高的情况下,房屋租赁机构要面临着待租售房源数量增长,求购求租人群多样化等问题,如何用先进的管理手段,提高房屋租赁机构的管理水平和服务质量已成为该行行业的当务之急。采用计算机网络进行房屋租赁管理,可以及时更新房源信息,很大程度上提高租赁机构的管理效率、改善服务水准。因此,设计和开发网络房屋交易系统具有十分重要的现实意义。
电子商务是一个发展潜力巨大的市场,极具有发展前景。电子商务双向信息沟通、灵活的交易手段和快速的交货方式的特点,将给社会带来巨大的经济效益,促进整个社会的生产力的提高。电子商务的广泛推广,打破了时空限制,改变了贸易形态,大大加速了整个社会的商品流通,有助于降低企业成本,提高企业竞争力,尤其能够使中小型企业直接进入国际市场参与国际市场竞争。电子商务给消费者提供了更多的选择,提供了更好的便利性。它是商务领域的一场信息革命,它对我们的思维方式、对人类的经济活动、对人类的工作方式和生活方式都将产生根本性的影响。
新技术的出现与应用,总会带来一系列的变革,我们现在处于工业化相信细化转轨的过程中。网络的出现与迅速发展,电子商务的逐渐成熟,不仅改变了我们记录和传播知识的符号、改变了我们的交易方式,而且将对我们的思维方式、对我们的工作方式和生活方式都将产生根本性的影响。该房屋信息发布系统也是基于B/S模式的电子商务的应用。
2 国内外的现状
在国外,计算机科学技术已经是一门比较普遍的技术。计算机的最开始发展是在美国。所以现在美国的计算机技术是世界上最先进的国家。在他们国家的工业,产业中,计算机不仅仅是一门技术,更始一种国家的支柱产业。依托计算机产业,每年都会产生巨大的经济利益和社会利益。计算机和通讯技术。是先进发达国家的带名词,在任何一个角落,都会看到这门技术的存在。世界上的500强企业中,不缺乏微软、IBM这样的高科技技术公司,也同样有沃尔玛、家乐福这样的零售业公司。他们不只是发展自己的优势项目,而是把这两个最先进的项目结合起来。而一般的管理系统,正是他们的热门技术。几乎所有的单位和公司都需要这样的小管理系统。这也是以后的发展趋势。不仅节约资金和产品的宣传成本,更可以用最低的价格去吸引消费者的眼球。使他们公司的业绩越来越好。
我生活的城市在大连,大连现在的房屋交易机购已经很成熟了,各种房屋租售网站也是层出不穷。经过调查,例如:大连天健网、大连易居网、搜房网、看房网都是很不错的房屋交易网站。大连天健网以论坛的形式被广大市民所熟知,该网站的开发管理者的精心更新维护使其逐步完善,现在天健网已经发展成一个多元化的信息网站,房屋交易系统模块因房源信息量大,更新快被受关注;看房网是一个新建立的网站,以新颖的房源视频模式吸引广大市民的关注,房源信息用视频短片的形式呈现给浏览者,这样有意求购求租的浏览者便可直观的清楚各个房源的基本情况,不必东奔西走,既省时又省力。
3 本课题的研究目标
本课题主要对房屋交易系统的现状进行调研分析,实现网上房屋交易系统的各个功能模块,为以后实现大型房屋交易平台打好基础。
本系统设计开发完成后必能够实现各种房屋信息的在线交易。达到层次清晰,功能丰富的要求;界面美观,用户操作界面采用中文汉字操作,使用起来较为方便,操作灵活;本系统的开发具有良好的可扩充性,可根据房源信息交易的需要随时补充和修改;系统维护简单方便。
4 研究内容
本系统为房屋租赁信息发布系统,属于电子商务的范围,就是通过查询、发布房屋租赁信息,并取得联系方式,完成房屋交易。系统主要分为两大部分,一是前台部分,主要完成网上信息浏览,二是后台数据库的连接,而数据库部分是本系统的重要部分。前台房源查询,发布,修改都是基于后台数据库得以实现,本系统主要功能包括首页设计、房源信息页、用户管理页等。
本系统设计完成后,最终将能实现以下功能:
(1)用户注册;
(2)用户管理(发布房源信息、房源查询、个人信息修改);
(3)房屋买卖或房屋租赁;
(4)留言板管理、便民问答。
5 使用的主要技术
(1)JSP技术
JSP全称JavaServerPages,它是由Sun Microsystems公司提出、许多公司参与建立的一种动态网页技术标准。它诞生在 1999年6月1日。用JSP开发的Web应用是
跨平台的,即能在Linux下运行,也能在其他操作系统上运行。目前国内外已经在广泛地使用JSP。随着JAVA语言得到普及,越来越多的公司开始关注JSP的前景。
(2)SQL Server2000
SQL Server2000是由 Microsoft公司开发的,简称SQL Server,由一系列相互协作的组件构成,能满足最大的Web站点和企业数据处理系统存储和分析数据的需求。
(3)Tomcat
Tomcat是一个免费的开源的Serlvet容器,它是Apache基金会的Jakarta项目中的一个核心项目,由Apache,Sun和其它一些公司及个人共同开发而成。由于有了Sun的参与和支持,最新的Servlet和Jsp规范总能在Tomcat中得到体现。
6 可行性分析
(1)技术可行性
B/S结构的信息管理系统发展至今,业务逻辑的分析和开发技术都已经比较成熟。首先B/S的开发模式在各个行业都有较好的应用。JSP、Struts、SQL Server等技术对WEB页面的开发都有较好的支持。业务逻辑的处理,及相应的数据存储的技术都已经很完备。且这些技术通过查阅相关书籍都较容易获取及学习。相应的开发环境通过互联网也都可以获取。所以综合这些方面,本网络房屋交易系统满足技术可行性。
(2)经济可行性
由于本系统框架结构简单,规模不大,在系统开发及运行过程中仅需要支付少量开发成本,及服务器架设成本和系统运行时的维护成本。完成后的系统将本市的房源信息全面地介绍给广大市民,满足广大房屋求租求购的需求,提高房屋租赁机构的工作效率。据此对投资和收益的权衡比较,确定网络房屋交易系统具有经济可行性。
(3)操做可行性
实现系统之后,要由1~2名计算机专业技术人员看管服务器和进行技术支持。而用户只需坐在装有调制解调器的PC机前,就可以畅游在网络空间里搜寻自己感兴趣的房源信息。
综上所述,该系统的开发是可行的。
7 己具备的实验条件
(1)计算机硬件环境:
CPU:Intel Core2 Duo T6400 2.0GHz
内存:2048MB
硬盘:160G
(2)计算机软件环境:
操作系统:Microsoft Windows XP Professional SP2
JSP服务器:Tomcat 5.5.20
数据库:Microsoft SQL Server 2000
浏览器:Microsoft Internet Explorer 7.0
8 进度安排
题 目
后现代住宅销售与服务系统
日 期
计划完成内容
第一周
实习调研,查阅课题相关外文资料
第二周
了解行业状况、查阅文献资料,阅读资料,撰写调研报告
第三周
完成10000字符或3000汉字以上外文翻译资料,准备资料,学习JSP技术
第四周
进行需求分析
第五周
进行概要设计
第六周
进行概要设计, 基本框架完成,提交毕业论文提纲
第七周
完成后台数据库的设计并编码,完成部分论文
第八周
完成后台数据库的设计并编码,完成部分论文
第九周
继续编码并进行测试,继续编写毕业设计论文
第十周
继续进行程序测试,继续编写毕业设计论文
第十一周
整理资料、文档、图表等,修改毕业设计论文
第十二周
完成毕业设计论文,打印,按要求装订
第十三周
软件验收和准备毕业设计答辩
第十四周
毕业设计答辩及成绩评定
9 参考文献
[1] 张跃平.JSP实用教程[M].北京清华大学出版社.2003
[2] SunMicrosystems.Database Programming With Java Technology[M].2001
[3] Java Servlet & JSP Cookbook[M].O'Reilly Press.2004
[4] 万峰科技编著.JSP 网站开发四酷全书[M].电子工业出版社.2005
[5] 武卫华.计算机专业英语[M].科学出版社.2004
[6] 王国辉.李文立.杨亮.JSP数据库系统开发完全手册[M].北京人民邮电出版社.2006
[7] 吴斌.赵有珍等.SQL Server应用与提高[M].科学出版社.2002
[8] 王利.数据库基础与应用[M].北京中央广播电视大学出版社.1997
[9] 高阳.数据库技术与应用[M].电子工业出版社.2003
[10] 汪孝宜.刘中兵.徐佳晶.JSP数据库开发实例精粹[M].电子工业出版社.2005
[11] 王诚梅.袁然.王艳.JSP案例开发集锦[M].电子工业出版社.2005
大连交通大学信息工程学院
毕业设计(论文)外文翻译
学生姓名 金双阳 专业班级 软件工程08-2班
指导教师 王鑫 翟悦 职 称 高工 讲师
所在单位 信息科学系软件工程教研室
教研室主任 刘瑞杰
完成日期 2012 年 4 月 13 日
Working with Hibernate in Eclipse
Introduction
I recently started using Eclipse as my development environment, in part because of its support for the many platforms on which I develop, and in part because Eclipse is a great example of the power of an open, extensible environment in which people all around the world can contribute. I'm beginning to investigate the extensions people have come up with. For example, I use a little plugin called XMLBuddy to work with XML files, and it's very helpful. So I became curious about whether anyone had written plugins to work with Hibernate, since I've done so much of that recently in putting together the Developer's Notebook. It turns out there are several such efforts underway; in this article we will explore one of them--the Hibernate Synchronizer.
Hibernate Synchronizer
Of the plugins I've found so far, the Hibernate Synchronizer interested me most because it seems to best support the kind of mapping-centric workflow I adopted throughout my Developer's Notebook. (Hibernate can be used in many different ways, so check out the other plugins available; these may be more helpful if your environment calls for another approach.) In fact, the Hibernate Synchronizer plugin removes the need for you to think about updating your Java code when you change your mapping document. In a very Eclipse-like way, it automatically updates the Java code as you edit the mapping. But it goes even farther than Hibernate's built-in code generation tools by creating a pair of classes for each mapped object. It "owns" a base class, which it rewrites at will as you change the mapping, and gives you a subclass that extends this base class, where you can put business logic and other code, without fear that it will ever get changed out from under you.
As befits an approach centered around the Hibernate mapping document, Hibernate Synchronizer includes a new editor component for Eclipse that provides intelligent assistance and code completion for such documents. A nice DTD-driven XML editor, such as the aforementioned XMLBuddy, can do some of this for you, but Hibernate Synchronizer uses its semantic understanding of the documents to go much further. It also offers a graphical view of the properties and relations in the mapping, "wizard" interfaces for creating new elements, and other such niceties. And, as mentioned, in its default configuration the editor automatically regenerates the data-access classes as you edit their mapping documents.
There are other pieces to Hibernate Synchronizer, too. It adds a section to Eclipse's New menu that provides wizards for creating Hibernate configuration and mapping files, and adds contextual menu entries in the package explorer and in other appropriate places, providing easy access to relevant Hibernate operations.
OK, enough abstract description, time to get down to the practical stuff! After all, you were already probably interested in this, or you wouldn't have started to read the article. So how do you get and play with Hibernate Synchronizer?
Installation
Hibernate Synchronizer is installed using Eclipse's built-in Update Manager. The plugin offers separate update sites for users of Eclipse 2.1 and the forthcoming Eclipse 3. Because I'm using Eclipse for mission-critical work, I'm still using the production release, 2.1. As I write this, Eclipse 3 has entered its "release candidate" phase, and I am very much looking forward to being able to upgrade to a production release of version 3 when I return from JavaOne later this summer. (The main reason I mention this is to emphasize that the following instructions are written from an Eclipse 2 perspective; some commands and screens are undoubtedly different in Eclipse 3, so if you're using it, be sure to apply your own judgment in following these steps! If it helps, my impression is that Hibernate Synchronizer's own install instructions are written for Eclipse 3.)
Fire up Eclipse and open the Update Manager by choosing Help -> Software Updates -> Update Manager. Once the Install/Update perspective opens up, right-click (or control-click, if you're using a one-button mouse) in the Feature Updates view and choose New -> Site Bookmark.
Figure 1. Adding the Hibernate Synchronizer plugin site to the Update Manager
In the resulting dialog, enter the URL for the version of the plugin that you need. The URL to be entered depends on your Eclipse version:
Eclipse 2.1:
Eclipse 3:
You also need to assign a name for the new bookmark. "Hibernate Synchronizer" makes a lot of sense.
Once you click Finish, the new bookmark will appear in the Feature Updates view.To actually install the plugin, click on the disclosure triangle to the left of the bookmark, and again on the next one that appears inside of it, until you can see the icon for the plugin itself. When you click on that, the Preview view will update to show you an interface that allows you to install the plugin.Click Install Now to actually install it, and let Eclipse walk you through the process.See Trade-Offs, below, for some discussion about this license agreement. You may wish to read it carefully before deciding to use Hibernate Synchronizer in a project of your own. I think it's probably fine, but it is confusingly based on the GPL without actually being open source. Now that the plugin is installed, you need to quit and relaunch Eclipse for it to take effect. The dialog seems to imply that Eclipse will restart itself, but in my experience, clicking Yes merely causes the environment to quit, and you have to relaunch it manually. This may be a limitation of Eclipse 2.1's Mac OS X implementation; Eclipse 3 is going to be the first release that promises "first-class" support for OS X. In any case, this is a very minor issue. If you need to restart Eclipse, do so now, because it's time to start configuring the plugin to put it through its paces!
Configuration
Once Eclipse comes back up, you can close the Install/Update perspective. Open a Java project that uses Hibernate. If you've been going through the examples in the Developer's Notebook, you'll have several directories from which to choose. I'll be looking at the examples as they exist in Chapter 3, which is the sample chapter available online. You can also download the source for all of the examples from the book's site.
If you're creating a new Eclipse project to work with one of the example source directories, just choose File -> New -> Project, specify that you want to create a Java project and click Next, give it a name ("Hibernate Ch3" in my case, as shown in Figure 11), uncheck the Use default checkbox so that you can tell Eclipse where to find the existing project directory, and hit the Browse button to locate where it exists on your own drive. At this point, you can click Finish to create the project, but I generally like to click Next and double-check the decisions Eclipse is making. (Of course, if it gets anything wrong, you can always go back and fix the project properties, but I tend to find it disconcerting to be greeted by a ton of errors and warnings immediately if there is a library missing or something.)
In this case, my caution was unnecessary. Eclipse figured out exactly how the directory was structured and intended to be used, and found all of the third-party libraries I had downloaded and installed in order to enable Hibernate and the HSQLDB database engine to run. (A detailed walkthrough of this process is the bulk of Chapter 1 of my Developer's Notebook.) This kind of smart adaptability is one of the great features of Eclipse. Figure 12 shows our new project open and ready for experimentation. It also shows that Eclipse doesn't like to fit into a window small enough for a reasonable screen shot; I'm going to have to work with partial window captures from this point on.
The next thing we need to do is create a Hibernate configuration file that Hibernate Synchronizer can use. There is already a hibernate.properties file in the src directory, which is how the examples in the book work, but Hibernate Synchronizer only works with Hibernate's XML-based configuration approach. So we'll need to replicate the contents of hibernate.properties into a new hibernate.cfg.xml file. On the bright side, this gives us our first opportunity to play with a feature of Hibernate Synchronizer, the configuration file wizard. Choose File -> New -> Other, click the newly available Hibernate category, pick Hi
展开阅读全文