河南建筑职业技术学院毕业设计报告题目:虚拟股票交易系统专业:软件技术班级:软件09–1班学生姓名:王毅学号:2009115901067指导教师:黄振颖完成日期:2012年3月8日摘要所谓股票交易,就是指股票投资者之间按照市场价格对已发行上市的股票所进行的买卖。近年来,国内股票市场发展十分迅速,催生出了诸如上海证券交易所和深圳证券交易所等国内知名的股票交易中心,同时也吸引了越来越多的股票热爱者。当然,问题也接踵而来,由于国内股票市场刚刚起步,缺少统一而且全面的交易平台,导致许多人对于股票的认识还很匮乏。本着为大众服务的宗旨,基于JAVA的虚拟股票交易系统就是为了解决上述问题而进行开发的。该系统严格按照软件工程中面向对象的开发方法和开发流程,采用Struts+Hibernate+JSP技术和MySQL数据库进行设计、开发并实现。用户通过注册、登录到该系统后,可以浏览、学习自己感兴趣的股票信息和股票知识,查看个人股票持仓,进行股票交易,修改个人资料等等。该系统内容丰富、安全可靠、操作简单,能够充分满足绝大多数股票爱好者的需求。关键词:JAVA、MySQL数据库、股票交易AbstractTheso-calledstocktrading,stockinvestorsisthataccordingtothemarketpriceofissuingandlistingstocksaretraded.Inrecentyears,thedomesticstockmarketdevelopmentisveryrapid,producesuchastheShanghaistockexchangeandShenzhenstockexchange,andotherwell-knowndomesticstocktradingcenter,butalsoattractedmoreandmorestockenthusiasts.Ofcourse,theproblemwillfollowcloseonsuccession,asthedomesticstockmarkethasjuststarted,thelackofaunifiedandcomprehensivetradingplatform,leadingtomanypeoplesharetheawarenessisstillveryscarce.Thespiritofservingthepublicpurpose,basedontheJAVAvirtualstocktradingsystemistosolvetheproblemforthedevelopmentof.Thesysteminstrictaccordancewiththesoftwareengineeringofobject-orienteddevelopmentmethodandDevelopmentprocess,usingStruts+Hibernate+JSPtechnologyandMySQLdatabasedesign,developmentandimplementation.Registeredusers,logintothesystem,canbrowse,learntheirinterestinthestockinformationandthestockofknowledge,viewpersonalstockholdings,afemoraltickettransactions,modifypersonalinformationandsoon.Thesystemisrichincontent,safeandreliable,simpleoperation,canfullymeettheneedsofthevastmajorityofstockenthusiastsdemand.Keywords:JAVA、TheMySQLdatabase、stocktrade目录第1章系统概述.............................................................61.1背景..............................................................61.2系统开发环境......................................................61.3系统机构..........................................................7第2章系统组成及系统模块介绍...............................................82.1系统功能图介绍....................................................82.2系统功能描述......................................................82.3系统数据库和类结构................................................9第3章用户管理1..........................................................123.1用户注册.........................................................123.2用户登录.........................................................143.3用户设置.........................................................163.4用户修改密码.....................................................173.5用户退出.........................................................18第4章用户股票管理........................................................194.1股票交易.........................................................194.2买入股票.........................................................214.3卖出股票.................