1、大连交通大学信息工程学院毕业设计(论文)任务书题 目 后现代住宅销售与服务系统任务及要求:1.设计(研究)内容和要求任务:1、 调查电子商务技术发展近况,完成实习报告,字数不少于3000,第三周交给指导老师。2、 结合自己实习情况安排进度,填写进度计划表,第二周完成后交给指导老师签字,并严格执行。3、 按照软件工程思想,独立完成系统的设计和程序开发,完成代码估计2000行左右。4、 用JSP技术实现后现代住宅定制与服务的功能。5、 程序简洁,算法可行,运行情况良好。要求:1、 每周和指导老师至少见面沟通一次,回报课题进展情况,接受老师询问。2、 接到任务书后,查阅与题目及专业相关的外文资料进行
2、翻译,要求不少于10000个外文字符,译出汉字不得少于3000,于第四周交给指导老师审阅。3、 毕业设计第13周完成毕业论文的装订,并由指导老师评阅。论文要求12000字以上,包括综述、系统总体设计、系统实现、性能分析、结论等。4、 教学第13周通过中软及教研室组织进行软件验收,验收时要提供软件使用说明书。5、 于第13周提出毕业答辩申请并签字。6、 第14 周答辩,要求制作PPT2.原始依据通过大学几年的学习,已经学习了诸如软件工程、数据库原理及应用、数据结构、C+、Visual Basic、JAVA等多门程序设计语言和网络等基础知识和专业知识,学生有能力而且可以独立完成小中型项目的设计与开
3、发。学校现有设备和环境可以提供给学生实习和上机,而且具有专业老师可以指导学生。3.参考文献1汪孝宜刘中兵徐佳晶等编著JSP数据库开发实例精粹M北京:电子工业出版社20052姚晓春郑文清编著Java编程技术教程M北京:清华大学出版社19993吴逸贤吴目诚编著Java2程序设计M北京:科学出版社20034飞思科技产品研发中心编著Jsp应用开发详解M北京:电子工业出版社20065周竞涛赵寒王明微等编著Eclipse完全手册M北京:电子工业出版社20066张文静林琪译JSP程序设计北京:人民邮电出版社M20067孙卫琴李洪成著Tomcat与Java Web开发技术祥解M北京:电子工业出版社20068B
4、ruce Eckel著Thinking In JavaM北京:机械工业出版社20069陈威白伟明李楠著JSP工程应用与项目实践M北京:机械工业出版社200510宋昆李严著SQL Server数据库开发实例解析M北京:机械工业出版社2006指导教师签字:教研室主任签字: 2012年3月26日大连交通大学信息工程学院毕业设计(论文)进度计划与考核表学生姓名金双阳专业班级软件工程08-2班指导教师王鑫翟悦本课题其他人员无题目后现代住宅销售与服务系统日期计划完成内容完成情况指导老师检查签字第1周实习调研,查阅课题相关外文资料第2周了解行业状况、查阅文献资料,阅读资料,撰写调研报告第3周完成10000字
5、符或3000汉字以上外文翻译资料,准备资料,学习JSP技术第4周进行需求分析第5周进行概要设计第6周进行概要设计, 基本框架完成,提交毕业论文提纲第7周完成后台数据库的设计并编码,完成部分论文第8周完成后台数据库的设计并编码,完成部分论文第9周继续编码并进行测试,继续编写毕业设计论文第10周继续进行程序测试,继续编写毕业设计论文第11周整理资料、文档、图表等,修改毕业设计论文第12周完成毕业设计论文,打印,按要求装订第13周软件验收和准备毕业设计答辩第14周毕业设计答辩及成绩评定指导教师签字: 年月日注:“计划完成内容”由学生本人认真填写,其它由指导教师考核时填写。大连交通大学信息工程学院毕业
6、设计(论文)调研报告学生姓名 金双阳 专业班级 软件工程08-2班 指导教师 王鑫翟悦 职 称 高工讲师 所在单位 信息科学系软件工程教研室 教研室主任 刘瑞杰 完成日期 2012 年 4 月 6 日实习报告1 课题来源及意义如今,计算机网络技术已经深入到人们生活的各个方面,许多传统的事务以不再局限于纯物质形态,转而延伸到虚拟的网络平台上,房屋租售的交易也是如此。房屋租赁机构是我国的改革开放过的程中起步最早的、开拓发展最快、收效最为明显、市场化程度高的服务行业之一。在我国经济迅猛发展,全国各大城市人口对住房条件要求逐渐提高的情况下,房屋租赁机构要面临着待租售房源数量增长,求购求租人群多样化等问
7、题,如何用先进的管理手段,提高房屋租赁机构的管理水平和服务质量已成为该行行业的当务之急。采用计算机网络进行房屋租赁管理,可以及时更新房源信息,很大程度上提高租赁机构的管理效率、改善服务水准。因此,设计和开发网络房屋交易系统具有十分重要的现实意义。电子商务是一个发展潜力巨大的市场,极具有发展前景。电子商务双向信息沟通、灵活的交易手段和快速的交货方式的特点,将给社会带来巨大的经济效益,促进整个社会的生产力的提高。电子商务的广泛推广,打破了时空限制,改变了贸易形态,大大加速了整个社会的商品流通,有助于降低企业成本,提高企业竞争力,尤其能够使中小型企业直接进入国际市场参与国际市场竞争。电子商务给消费者
8、提供了更多的选择,提供了更好的便利性。它是商务领域的一场信息革命,它对我们的思维方式、对人类的经济活动、对人类的工作方式和生活方式都将产生根本性的影响。 新技术的出现与应用,总会带来一系列的变革,我们现在处于工业化相信细化转轨的过程中。网络的出现与迅速发展,电子商务的逐渐成熟,不仅改变了我们记录和传播知识的符号、改变了我们的交易方式,而且将对我们的思维方式、对我们的工作方式和生活方式都将产生根本性的影响。该房屋信息发布系统也是基于B/S模式的电子商务的应用。2 国内外的现状在国外,计算机科学技术已经是一门比较普遍的技术。计算机的最开始发展是在美国。所以现在美国的计算机技术是世界上最先进的国家。
9、在他们国家的工业,产业中,计算机不仅仅是一门技术,更始一种国家的支柱产业。依托计算机产业,每年都会产生巨大的经济利益和社会利益。计算机和通讯技术。是先进发达国家的带名词,在任何一个角落,都会看到这门技术的存在。世界上的500强企业中,不缺乏微软、IBM这样的高科技技术公司,也同样有沃尔玛、家乐福这样的零售业公司。他们不只是发展自己的优势项目,而是把这两个最先进的项目结合起来。而一般的管理系统,正是他们的热门技术。几乎所有的单位和公司都需要这样的小管理系统。这也是以后的发展趋势。不仅节约资金和产品的宣传成本,更可以用最低的价格去吸引消费者的眼球。使他们公司的业绩越来越好。我生活的城市在大连,大连
10、现在的房屋交易机购已经很成熟了,各种房屋租售网站也是层出不穷。经过调查,例如:大连天健网、大连易居网、搜房网、看房网都是很不错的房屋交易网站。大连天健网以论坛的形式被广大市民所熟知,该网站的开发管理者的精心更新维护使其逐步完善,现在天健网已经发展成一个多元化的信息网站,房屋交易系统模块因房源信息量大,更新快被受关注;看房网是一个新建立的网站,以新颖的房源视频模式吸引广大市民的关注,房源信息用视频短片的形式呈现给浏览者,这样有意求购求租的浏览者便可直观的清楚各个房源的基本情况,不必东奔西走,既省时又省力。3 本课题的研究目标本课题主要对房屋交易系统的现状进行调研分析,实现网上房屋交易系统的各个功
11、能模块,为以后实现大型房屋交易平台打好基础。本系统设计开发完成后必能够实现各种房屋信息的在线交易。达到层次清晰,功能丰富的要求;界面美观,用户操作界面采用中文汉字操作,使用起来较为方便,操作灵活;本系统的开发具有良好的可扩充性,可根据房源信息交易的需要随时补充和修改;系统维护简单方便。4 研究内容本系统为房屋租赁信息发布系统,属于电子商务的范围,就是通过查询、发布房屋租赁信息,并取得联系方式,完成房屋交易。系统主要分为两大部分,一是前台部分,主要完成网上信息浏览,二是后台数据库的连接,而数据库部分是本系统的重要部分。前台房源查询,发布,修改都是基于后台数据库得以实现,本系统主要功能包括首页设计
12、、房源信息页、用户管理页等。本系统设计完成后,最终将能实现以下功能:(1)用户注册;(2)用户管理(发布房源信息、房源查询、个人信息修改);(3)房屋买卖或房屋租赁;(4)留言板管理、便民问答。5 使用的主要技术(1)JSP技术JSP全称JavaServerPages,它是由Sun Microsystems公司提出、许多公司参与建立的一种动态网页技术标准。它诞生在 1999年6月1日。用JSP开发的Web应用是跨平台的,即能在Linux下运行,也能在其他操作系统上运行。目前国内外已经在广泛地使用JSP。随着JAVA语言得到普及,越来越多的公司开始关注JSP的前景。(2)SQL Server20
13、00SQL Server2000是由 Microsoft公司开发的,简称SQL Server,由一系列相互协作的组件构成,能满足最大的Web站点和企业数据处理系统存储和分析数据的需求。(3)TomcatTomcat是一个免费的开源的Serlvet容器,它是Apache基金会的Jakarta项目中的一个核心项目,由Apache,Sun和其它一些公司及个人共同开发而成。由于有了Sun的参与和支持,最新的Servlet和Jsp规范总能在Tomcat中得到体现。6 可行性分析(1)技术可行性B/S结构的信息管理系统发展至今,业务逻辑的分析和开发技术都已经比较成熟。首先B/S的开发模式在各个行业都有较好
14、的应用。JSP、Struts、SQL Server等技术对WEB页面的开发都有较好的支持。业务逻辑的处理,及相应的数据存储的技术都已经很完备。且这些技术通过查阅相关书籍都较容易获取及学习。相应的开发环境通过互联网也都可以获取。所以综合这些方面,本网络房屋交易系统满足技术可行性。(2)经济可行性由于本系统框架结构简单,规模不大,在系统开发及运行过程中仅需要支付少量开发成本,及服务器架设成本和系统运行时的维护成本。完成后的系统将本市的房源信息全面地介绍给广大市民,满足广大房屋求租求购的需求,提高房屋租赁机构的工作效率。据此对投资和收益的权衡比较,确定网络房屋交易系统具有经济可行性。(3)操做可行性
15、实现系统之后,要由12名计算机专业技术人员看管服务器和进行技术支持。而用户只需坐在装有调制解调器的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 Expl
16、orer 7.0 8 进度安排 题 目后现代住宅销售与服务系统 日 期计划完成内容第一周实习调研,查阅课题相关外文资料第二周了解行业状况、查阅文献资料,阅读资料,撰写调研报告第三周完成10000字符或3000汉字以上外文翻译资料,准备资料,学习JSP技术第四周进行需求分析第五周进行概要设计第六周进行概要设计, 基本框架完成,提交毕业论文提纲第七周完成后台数据库的设计并编码,完成部分论文第八周完成后台数据库的设计并编码,完成部分论文第九周继续编码并进行测试,继续编写毕业设计论文第十周 继续进行程序测试,继续编写毕业设计论文第十一周整理资料、文档、图表等,修改毕业设计论文第十二周完成毕业设计论文,
17、打印,按要求装订第十三周软件验收和准备毕业设计答辩第十四周毕业设计答辩及成绩评定9 参考文献1张跃平JSP实用教程M北京清华大学出版社2003 2SunMicrosystems.Database Programming With Java TechnologyM20013Java Servlet & JSP CookbookMOReilly Press20044万峰科技编著JSP 网站开发四酷全书M电子工业出版社20055武卫华计算机专业英语M科学出版社20046王国辉李文立杨亮JSP数据库系统开发完全手册M北京人民邮电出版社20067吴斌赵有珍等SQL Server应用与提高M科学出版社20
18、028王利数据库基础与应用M北京中央广播电视大学出版社19979高阳数据库技术与应用M电子工业出版社200310汪孝宜刘中兵徐佳晶JSP数据库开发实例精粹M电子工业出版社200511王诚梅袁然王艳JSP案例开发集锦M电子工业出版社2005大连交通大学信息工程学院毕业设计(论文)外文翻译学生姓名 金双阳 专业班级 软件工程08-2班 指导教师 王鑫翟悦 职 称 高工 讲师 所在单位 信息科学系软件工程教研室 教研室主任 刘瑞杰 完成日期 2012 年 4 月 13 日Working with Hibernate in EclipseIntroductionI recently started u
19、sing 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. Im beginning to investigate the ex
20、tensions people have come up with. For example, I use a little plugin called XMLBuddy to work with XML files, and its very helpful. So I became curious about whether anyone had written plugins to work with Hibernate, since Ive done so much of that recently in putting together the Developers Notebook
21、. It turns out there are several such efforts underway; in this article we will explore one of them-the Hibernate Synchronizer.Hibernate SynchronizerOf the plugins Ive found so far, the Hibernate Synchronizer interested me most because it seems to best support the kind of mapping-centric workflow I
22、adopted throughout my Developers 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 y
23、our 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 Hibernates built-in code generation tools by creating a pair of classes for each mapped object. It owns a base class, which i
24、t 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 Synchro
25、nizer 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 t
26、o 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 mapp
27、ing documents. There are other pieces to Hibernate Synchronizer, too. It adds a section to Eclipses 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 t
28、o 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 wouldnt have started to read the article. So how do you get and play with Hibernate Synchronizer?InstallationHibernate Synchronize
29、r is installed using Eclipses built-in Update Manager. The plugin offers separate update sites for users of Eclipse 2.1 and the forthcoming Eclipse 3. Because Im using Eclipse for mission-critical work, Im still using the production release, 2.1. As I write this, Eclipse 3 has entered its release ca
30、ndidate 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 s
31、creens are undoubtedly different in Eclipse 3, so if youre using it, be sure to apply your own judgment in following these steps! If it helps, my impression is that Hibernate Synchronizers own install instructions are written for Eclipse 3.)Fire up Eclipse and open the Update Manager by choosing Hel
32、p - Software Updates - Update Manager. Once the Install/Update perspective opens up, right-click (or control-click, if youre 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 ManagerIn the resul
33、ting 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
34、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 interfa
35、ce 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 you
36、r own. I think its 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 m
37、erely causes the environment to quit, and you have to relaunch it manually. This may be a limitation of Eclipse 2.1s 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
38、, do so now, because its time to start configuring the plugin to put it through its paces! ConfigurationOnce Eclipse comes back up, you can close the Install/Update perspective. Open a Java project that uses Hibernate. If youve been going through the examples in the Developers Notebook, youll have s
39、everal directories from which to choose. Ill 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 books site. If youre creating a new Eclipse project to work with one of the example sour
40、ce 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 B
41、rowse 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
42、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 libr
43、aries 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 Developers Notebook.) This kind of smart adaptability is one of the great features of Eclipse. Figure 12 shows our new proje
44、ct open and ready for experimentation. It also shows that Eclipse doesnt like to fit into a window small enough for a reasonable screen shot; Im 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
45、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 Hibernates XML-based configuration approach. So well 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