基于构件化soa证券网站的设计与实现

上传人:E**** 文档编号:118097739 上传时间:2019-12-11 格式:PDF 页数:74 大小:1.14MB
返回 下载 相关 举报
基于构件化soa证券网站的设计与实现_第1页
第1页 / 共74页
基于构件化soa证券网站的设计与实现_第2页
第2页 / 共74页
基于构件化soa证券网站的设计与实现_第3页
第3页 / 共74页
基于构件化soa证券网站的设计与实现_第4页
第4页 / 共74页
基于构件化soa证券网站的设计与实现_第5页
第5页 / 共74页
点击查看更多>>
资源描述

《基于构件化soa证券网站的设计与实现》由会员分享,可在线阅读,更多相关《基于构件化soa证券网站的设计与实现(74页珍藏版)》请在金锄头文库上搜索。

1、上海交通大学 硕士学位论文 基于构件化SOA证券网站的设计与实现 姓名:梁星元 申请学位级别:硕士 专业:软件工程 指导教师:赵建军 20090701 基于构件化SOA证券网站的设计与实现 1 基于构件化基于构件化 SOA 证券网站的设计与实现证券网站的设计与实现 摘摘 要要 随着软件开发行业的发展,社会已经逐渐步入了信息化的社会,各个方面的因素导 致了软件系统越来越复杂与庞大,如复杂的分布环境,灵活的应用模式,广泛的包容性 能等。并且各个行业都对软件有一定的需求,导致了软件需求量的迅速膨胀。软件的最 终目的就是满足企业业务的需求,使企业业务提高到一个新的层次,这是任何一个使用 软件的企业的理

2、想目标,当然同时也是软件制造商的目标了。现在的软件企业正面临着 客户需求的快速变换,较短的项目周期,返工的开发成本三个主要方面的压力。 软件行业依靠着自身理论与技术的不断发展在逐渐提高生产力, 减少软件开发成本, 增强软件质量等,但是大部分的软件公司还是无法摆脱软件计划延迟、开发预算超支、 版本不能及时推出等困扰。于是构件化 SOA(Service Oriented Architecture)即构件化面 向服务的架构伴随着人们的强烈愿望出现了。 构件化 SOA 是构件化与 SOA 的一个有机 结合,它综合了两者的优点,取长补短,进而形成了一个完善的软件解决方案。 其中的构件化包含了两个方面:面

3、向构件的设计与构件技术,即使用构件技术去实 现面相构件的设计,“面向构件的设计”是一个理想化的软件设计方法,它推广了对象 封装的内涵,侧重于复杂系统中组成部分的协调关系,强调实体在环境中的存在形式, 构件技术则是实现面向构件设计的基础。但是单独地使用构件化作为软件的解决方案, 却有一个重大缺陷,就是无法处理不断变更的复杂业务逻辑,因为构件化还是停留在技 术层面的,它依靠良好的模块化和层次化来提高生产率,仅仅是面向技术层面的一种设 计与实现方法,始终无法适应业务不断变化并且更复杂的的企业环境。 而 SOA 则带来了业务和管理的模块化、层次化和专业化,它通过引入“服务”的概 念,成功将业务作为一个

4、可管理与设计的模块引入到软件架构中。于是,在软件系统中 付出最小的代价以适应不断变化的复杂的业务逻辑变为可能。 SOA 弥补了构件化在整体架构与体系上的不足,考虑到了真正的业务需求,而构件 化使我们在实现 SOA 时候提供了一个很好的设计与技术曾面的支持。于是构件化 SOA 架构应然而生,它是一次信息架构的变革,也是现实信息服务与企业客观需求的反应。 本文针对实际的工程需求, 运用构件化 SOA 开发与设计方法, 设计并实现了一个证 基于构件化SOA证券网站的设计与实现 2 券网站。证券网站作为一个信息量庞大、业务复杂、多变的大型系统,它不仅仅需要成 功地实现,并且还要保证有良好的安全性,扩展

5、性,健壮性与效率等等,所以项目决定 采用构件化 SOA 作为解决方案。 本人作为资深软件工程师参与了项目开发的整个过程,具体包括: 1) 部分股票信息查询功能的设计与实现,例如查询股票今日交易信息总结,查询 当前股价等等,具体工作内容包括了界面显示、业务逻辑、服务、数据访问的 开发等。 2) 部分用户账户信息维护功能的设计与实现,例如创建用户,用户注册,修改用 户资料等等,开发内容包括了界面显示,业务逻辑,服务、数据访问。 3) 用户登录信息记录与管理功能的设计与实现,比如记录用户登录 IP,用户的访 问频率,查询和管理用户登录信息,具体工作内容包括了界面显示、业务逻辑、 服务、数据访问的开发

6、等。 4) NHibernate 二级缓存方案的设计与实现,方案中采用了 Memcache 作为 NHibernate 的分布式二级缓存策略, 该方案将 Memcache 与 NHibernate、 数据访 问层结合在一起,具体的工作内容包括方案设计、方案调研、方案实现、集成 等。 5) 异步访问数据源(AJAX)的前台显示构件的设计与实现,包括了访问框架框架 与用户显示控件, 其中使用了微软最新的 MVC(Model-View-Controller)框架与第 三方 Ext JavaScript 框架作为实现的技术, 开发人员可以借助本框架迅速地定制、 开发符合用户需求的、异步调用的、高效的前

7、台界面。具体的工作内容包括框 架设计、方案调研、构件实现、集成等。 关键字关键字 SOA,构件技术,构件化设计,构件化 SOA 基于构件化SOA证券网站的设计与实现 3 DEISGN AND IMPLEMENT OF THE SECURITIES WEBSITE BASED ON COMPONENT SOA ABSTRACTs With the development of soft industry, we have gradually entered the era of information. Software system has been more and more complex

8、 and huge due to different factors in different aspects, for example, complex distributed environment, flexible application mode, and extensive containment capacity. Whats more, there is great need for almost all the industries, which leads to rapid growth of the demand of software. The ultimate obj

9、ective of software is to satisfy the requirement of enterprises business and to raise it into a new stage, which is the ideal target of any enterprise using software as well as software manufacturers. Todays software enterprises are mainly facing three pressures, namely rapid change of customers req

10、uirements, short project terms, and rework development costs. By means of the constant development of its theories and technology does software industry gradually enhance productivity forces, cut down development costs and improve qualities. However, most software companies cannot extricate themselv

11、es from such troubles as schedule delay, budget overspending and edition launch delay. Therefore, component based SOA(Service Oriented Architecture)appears with peoples strong desires. Component based SOA is the integration of component and SOA. It combines both strong points and then forms into a c

12、omplete software solution. Component involves two aspects: component-oriented design and component-based technology, namely using component-based technology to realize component-oriented design. Componentoriented design is an ideal way of software design. It popularizes the meaning of object package

13、 and emphasizes the coordinating relations of component parts in complex system and the existing form of entity in the environment. So it is the basic of realizing component-oriented design. However, there will be a great defect if it is used alone as a software solution. It cannot deal with constan

14、tly changing business logic, for it remains in the technical level that relies on good modularization and exfoliation to increase productivity. The design and solution that remains in the technical level will fail to adapt itself to the constant change of business and more complex enterprise environ

15、ment. On the other hand, SOA brings business and management modularization, exfoliation and specialization. Through the introduction of the concept of service, it successfully leads business to software architecture 基于构件化SOA证券网站的设计与实现 4 as a manageable and designable module. Therefore, it is possibl

16、e to be suited to constantly changing business logic at the smallest cost in software system. Taking business real requirement into account, SOA makes good the deficiencies in the overall component based architecture and system. Component provides an excellent support in design and technical level. Naturally, component-based SOA comes into use. It is a revolution of information system

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号