用户名: 密码: 验证码:
基于J2EE和Flex构建营销一体化平台的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
为提高通信企业的通信服务能力和业务管理水平,树立良好的企业服务形象,从而在全国范围内满足用户的不同层次、不同种类的服务要求,通信企业需要增加相关的业务功能。这是完善通信企业网络、提高企业服务质量、增强企业竞争能力的重要措施之一。通过营销一体化平台可以实时查看各种营销方案,加快部门之间的协作。第一时间上传营销方案,提高运行效率,提高企业的业务能力和服务水平。
     基于Flex和J2EE平台的营销一体化平台使用Cairngorm、Spring和Hibernate框架。本文首先简要介绍了富互联网应用和Flex企业应用的总体架构,对富客户端的MVC模式进行讨论,对基于Flex的Cairngorm框架进行了详细介绍。然后介绍J2EE四层模型,同时对Spring、Hibernate以及他们的整合进行了详细的介绍。本文还重点论述Flex富客户端技术和J2EE服务器端技术的集成,尤其是Remote Object技术以及Flex与Spring框架集成。
     最后在开发平台的基础上通过营销一体化平台系统的分析、设计实现来验证开发平台的有效性。首先对系统进行分析,其次划分系统功能模块、确定系统体系结构,再次进行数据库设计、类设计和视图设计。在持久层设计了PloyType等持久化类以及与之协作的PloyTypeDao等DAO接口和PloyTypeDaoImpl等DAO实现类;在业务逻辑层设计了CheckService等业务服务接口以及CheckServiceImpl等业务接口实现类,以及一些工具类。在表示层设计了PloyTypeDto等值对象、CipModelLocator模型类、GetTypesEvent等Cairngorm事件、GetTypesCommand等命令类、CipHatchController控制类、GetTypesDelegate等服务代理类以及Services.mxml文件,并提出使用Fa?ade设计模式对Cairngorm框架的事件派发进行封装即将Cairngorm事件派发包装到PloyService,使其更适合应用开发。实践表明,在RIA开发中,使用Cairngorm、Spring、Hibernate的框架集成,可充分发挥各个框架的优点,降低RIA开发的复杂度,提高开发效率和质量。
To improve the communication service capabilities and the level of business management, and to establish the corporate image of good service, Communication enterprise need to increase communication-related functions that can meet different levels and types of user services around the country. This is one of the important measures to perfect communications network, improve service quality and enhance the competition of communication enterprise. Marketing Integration Platform enable the enterprise examining various marketing programs real-time to enhance the cooperation between the different departments. And it also improves operational efficiency, the business capacity and service level of the enterprise by uploading marketing programs in time.
     Marketing Integration Platform based on the platform of Flex and J2EE involves the frameworks of Cairngorm, Spring and Hibernate. First, the article introduces the RIA and the general architecture of Flex enterprise application, discusses the MVC model of the rich client-side. A detailed description of the Cairngorm's principles based on Flex platform is given in the thesis. Then, four-storey model of J2EE is introduced. Besides, Spring, Hibernate and their integration is discussed in detail. The article focuses on the integration rich client-side technology of Flex and server-side technology of J2EE, especially Remote Object technology and the integration between Flex and Spring framework.
     In the end, the validity of the development platform is verified through the analysis, design, and implementation of the Marketing Integration Platform based on the development platform. Above all, the system function modules are divided, and the system’s architecture is determined. Once again, the database design, class design and view design are carried on. In the persistence tier, the persistence classes such as PloyType, and DAO interfaces such as PloyTypeDao in collaboration with the persistence classes, DAO implementation classes such as PloyTypeDaoImpl, are designed. In the business logic tier, business services interfaces such as CheckService and its implementation class CheckServiceImpl and some classes as tools are designed. In the presentation tier, value object classes such as PloytypeDto, CipModelLocator as a Model class, Cairngorm event classes such as GetTypesEvent, Cairngorm command classes such as GetTypesCommand, CipHatchcontroller as a controller class, service delegate classes such as GetTypesDelegate and services as a MXML file are designed, and in the presentation tier, it is more suitable to development application by using Facade designing pattern to encapsulate the dispatch of event in Cairngorm framework. In rich internet application development, it shows that we can take full advantage of these frameworks by using the integration of Cairngorm, Spring and Hibernate, reduce the complexity of rich internet application development and improve the development efficiency and quality.
引文
[1]邬继成. J2EE开源编程精要15讲:整合Eclpise、Struts、Hibernate和Spring的Java Web开发.北京:电子工业出版社,2008,1-3
    [2] OMG. CORBA系统结构、原理与规范(,韦乐平译).北京:电子工业出版社,2000,1-3
    [3]孙鑫. Struts2深入了解.电子工业出版社,2008,2-7
    [4] David Ezzio.精通JDO(,韩来彬译).北京:清华大学出版社,2005,1-4
    [5]邱彦林. Flex第一步——基于ActionScript3.0的Flex2应用开发.北京:清华大学出版社,2007,1-2
    [6] Kris Hadlock. Ajax——Web开发、可重用组件及模式(,叶俊译).北京:清华大学出版社,2007,4-7
    [7]刘瑞新. Sliverlight Web应用从基础到实践.北京:机械工业出版社,2008,2-8
    [8]王睿. Flex与ActionScript编程.北京:机械工业出版,2008,3-7
    [9] Sun Microsystems, Inc. . http://www.javafx.com/about/overview, 2008-2009
    [10] Eric Freeman,Elisabeth Freeman,Kathy Sierr,et al.. Head First Desigh Pattern. O’Reilly,2004,254-265
    [11] Jeff Trapper,James Tabot,Matt Boles,et al.. Adobe Flex2 Training from Source. Adobe Press,2006
    [12]陈显军,魏祖宽.基于Flex的XML数据通信与应用研究.计算机与现代化,2008,03-0112-03:112-113
    [13]王峰.基于Flex的Rich Internet Application技术的研究和应用,上海:上海交通大学,2008,7-8
    [14]吕辉等. Flash/Flex ActionScript3.0交互式开发详解:语法基础、典型应用、视频网站实战.北京:电子工业出版社,2007,177-179
    [15] Rich Tretola,Simon Barber,Renaun Erickson. Prefessional Adobe○R FlexTM2. Wiley,2007,509-525
    [16] Adobe Consultant ream. Developing Flex RIAs with Cairngorm Microarchitecture. http://www.adobe.com/wiki/index.php/Cairngorm#What_is_Cairngorm.3F
    [17]吕晓鹏. Flex3.0—基于ActionScript3.0实现.北京:人民邮电出版社,2008,247-250
    [18] Chafic Kazoum,Joey Lott. Programming Flex2, O’Reilly Media,2007,403-404
    [19] Adobe System. AMF 3 Specification. http://download.macromedia.com/pub/labs/amf/amf3_spec_121207.pdf,2007
    [20] Adobe System LiveCycle○R Data Services Development’s Guide,http://livedocs.adobe.com/libecycle/es/sdkHelp/programmer/lcds/wwhelp/wwhimpl/js/html/wwhelp.html,2007
    [21] Park Avenue,San Jose,California,et al.. Flex2 Developer’s Guide. Adobe Press,2006,1346-1347
    [22] Joey Lott,Darron Schall,Keith Peters. ActionScript3.0 Cookbook. O’Reilly,2006
    [23] Mary Sumner,et al.. ERP——企业资源计划(,张玉亭,杨晓云译).北京:中国人民大学出版社,2005,1-3
    [24]叶开.中国CRM最佳实务.北京:电子工业出版社,2005,7-10
    [25] Martin Fowler,David Rice,et al.. Pattern of Enterprise Application Architecture. Person,2003
    [26] Bruce Eckel. Thinking in Java. Prentice Hall Ptr,2006
    [27] Deepak Alur,John Crupo,Dan Malks. Core J2EE Patterns 2n. US:Prentice Hall PTP,2003
    [28] Eric Jendrock,Jennifer Ball,Debbie Carson,et al.. JavaEE5权威指南(,廖铮等译).北京:机械工业出版社,2007,2-3
    [29] Raghu R. Kodali,et al.. EJB3基础教程(,马朝辉,杨艳等译).北京:人民邮电出版社,2008,2-3
    [30] William Crawford,Johathan Kaplan. J2EE Design Patterns. America:Wrox,2003,41-49
    [31]杨少波,顾益军等. J2EE项目实训——Spring框架技术.北京:清华大学出版社,2008,1-3
    [32]陈雄华.精通Spring2.x——企业应用开发详解.北京:电子工业出版社,2007,6-7
    [33] Rod Johnson,Juergen Hoelle,et al.. The Spring Framework—Reference Document. http://static.springframework.org/spring/docs/2.0.x/reference/index.html,2007
    [34] Bram Smeets,Seth Ladd. Building Spring2 Enterprise Application. Apress,2007,65-90
    [35] Christian Bauer,Gavin King. Hibernate in Actio. Manning,2005,1-3
    [36] Gavin King. Hibernate Reference Document. http://www.hibernate.org/hib_docs/v3/reference/en/html/index.html,2006,20-21
    [37]付京周.精通Hibernate3.0—Java数据库持久层开发实践.北京:人民邮电出版社,2007,251-285
    [38] Rod Johnson,Juergen Hoeller. Export One-on-One J2EE Development without EJB. America:Wrox,2004,113-129

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700