系统详细设计说明书文件状态:[√]草稿[]正式发布[]正在修改文件标识当前版本1.0.0作者罗豪完成日期2005-12-6版本历史版本/状态修订人修改日期备注V1.0.0罗豪2005-12-15第一部分、概述1、文档说明本文档适用于本项目开发人员阅读,开发人员可据此进行开发。本设计文档主要采用了OOAD(ObjectOrientAnalysis&Design,面向对象的分析和设计)的方法,从类图和时序图的角度对系统进行了分析设计。2、系统需求概述本系统是一个关于开发式基金进行交易的平台,它主要包括一下功能:基金销售人员登陆管理基金产品管理客户资料管理客户资金账户管理基金交易管理第二部分、系统总体结构该系统将采用J2EE技术架构实现,WEB层采用Struts架构,页面采用了EJB层使用了SessionBean和EntityBean,采用了SessionFaçade的设计模式,其技术架构如下图所示。BrowserServer图1:系统技术架构图注:Delegate是指业务逻辑的代理类。另外,当前价格的产生使用WebService进行模拟产生。第三部分、系统设计1、类图由于类图太多,这里只提供所有的实体类图,如下所示。WEBLayer(Struts)WebEJBLayerDBActionFormJSPSessionBeanEntityBeanDelegateServiceLocatorClientDto-serialVersionUID:long=1L-clientNo:Integer-clientName:String-idCardNo:String-sex:String-phone:String-address:String...+getClientNo()+setClientNo()+getClientName()+setClientName()+getIdCardNo()+setIdCardNo()+getSex()+setSex()+getPhone()+setPhone()+getAddress()+setAddress()+getEmail()+setEmail()+getHobby()+setHobby()+getCreatedDate()+setCreatedDate()...FundDto-serialVersionUID:long=1L-fundNo:Integer-fundName:String-price:Double...+getFundNo()+setFundNo()+getFundName()+setFundName()+getPrice()+getCurrentPrice()-pickNumberInRange()+setPrice()+getDescription()+setDescription()+getStatus()+setStatus()+getCreatedDate()+setCreatedDate()...SalesDto-serialVersionUID:long=1L-salesNo:Integer-username:String-password:String...+getSalesNo()+setSalesNo()+getUsername()+setUsername()+getPassword()+setPassword()+getRealname()+setRealname()+getSex()+setSex()...FinancialAccountDto-serialVersionUID:long=1L-accountNo:Integer-clientNo:Integer-financingAmount:Double-status:String...+getAccountNo()+setAccountNo()+getClientNo()+setClientNo()+getFinancingAmount()+setFinancingAmount()+getCreatedDate()+setCreatedDate()+getStatus()+setStatus()+getPassword()+setPassword()+equals()+hashCode()...FundAccountDto-serialVersionUID:long=1L-fundAccNo:Integer-financialAccNo:Integer-fundNo:Integer-fundName:String...+getFundDto()+setFundDto()+getFundAccNo()+setFundAccNo()+getFinancialAccNo()+setFinancialAccNo()+getFundNo()+setFundNo()+setFundName()+getFundName()+getTotalPrice()+getQuantity()+setQuantity()+getPrice()+setPrice()...*11*11*1*1*1*1注册用例实现A、时序图:Sales:ServiceLocator:registration.jsp:SalesAction.java:SalesDelegate.java:SalesSessionFacade:基金柜台操作人员:login.jsp1:\输入注册资料\2:\获取注册资料\3:\委托注册\4:\获取SessionBean接口\5:\注册\6:\保存注册信息\7:\返回结果\B、描述1)输入注册资料输入用户、密码、确认密码和性别。资料必须输入,不能为空。2)获取注册资料在Action里通过Form表单获取用户输入的注册资料。校验两次密码是否一致,并检验用户名是否存在。3)委托注册委托代理类SalesDelegate进行注册。4)获取SessionBean接口SalesDelegate类获取SalesSessionFacade接口,以便调用SalesSessionFacade关于注册的方法。5)注册调用会话BeanSalesSessionFacade的业务逻辑方法进行注册。6)保存注册信息通过实体BeanSales把注册数据保存到数据库中。7)返回结果注册成功后,通过findForward方法返回到系统登录页面login.jsp。登录用例实现A、时序图:基金柜台操作人员:ServiceLocat...