用户名: 密码: 验证码:
基于J2EE体系结构的研究及应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
软件集成是一种以重用现存的软件而快速地建立新软件的工程技术。利用软件的重用和集成可以有效地降低软件开发的成本及缩短开发时间,并可以提高软件的质量。目前基于Web和N_层的软件系统设计开发模式,已经逐渐流行。Java 2 Platform,EnterpriseEdition(J2EE)是Sun Microsystem,Inc为了实现上述的目的而开发的一种平台,而Enterprise JavaBean(EJB)则是Sun Microsystem,Inc为了达到上述目的而首创的、基于Server side组件的一种规范。许多企业的应用开发开始由传统的客户/服务器模式向基于Web和N层的设计模式转移。
     Java 2 Platform,Enterprise Edition(J2EE)定义了整个标准的应用开发体系结构和一个部署环境。在这个体系结构中,应用开发者的注意力集中在封装商业逻辑和商业规则上,而对于组件与基础结构相关的服务,如:分布式事务处理、安全、生命周期管理、命名服务、持久性都由应用程序容器或服务器自动处理。
     EJB技术是J2EE体系结构的基础和核心,Enterprise JavaBeans(EJB)是一个开发和部署分布式服务器端的EJB组件体系结构的规范。EJB组件具有分布式事务处理、可移植性、多用户、可伸缩性和安全性。EJB在应用系统业务逻辑和系统功能之间定义了清晰的界限,它具有平台独立性,用户只需要开发一次,就可以在多个平台上运行,不需要重新编写或进行源代码修改。EJB的体系结构在部署时确定,而不是在开发时确定。因此EJB技术具有广泛的适应性,并且可以保护用户的IT投资。
     本文所做的工作主要集中在以下几点:
     主要研究了Enterprise JavaBean技术的规范、体系结构、组件及应用来简化应用开发的J2EE技术,讨论了EJB与J2EE技术,XML技术和JavaBean技术的关系。并通过实例说明了基于服务器端的组件—EJB组件在企业应用开发和维护上的种种特性。
Software integration is an important technique in execution software reuse. It can provide a way for developing software rapidly. By using the technique of software reuse and intergration , the cost and time spending during developing can saving. Besides, the quality of software can be improved by using this way. The concepts of Webbased and N-tier software system design model becoming more and more popular. Java 2 Platform, Enterprise Edition(J2EE) is a platform developed by Sun Microsystem, Inc for implementing these goals. And Enterprise JavaBean(EJB) is a specification initiative led, driven and based on the serverside by SUN Microsystems, Inc to achieving these goals. Software application development of corporation has transferred from traditional Client/Server paradigm to WEBbased and N_tier environment.
    Java 2 Platform, Enterprise Edition(J2EE) define a set of the overall specifications for developing application architecture and provide a deploying groupwares circumstance. In this architecture, the developers can focus specifically on the encapsulation of the business logic and commerce regulation. And systemlever services, such as: distributed transaction, security, lifecycle, threading, persistence, etc. are automatically managed for the component by the application container and server.
    Enterprise JavaBean architecture is the basis and the core of Java 2 Platform, Enterprise Eidtion(J2EE). Enterprise JavaBean(EJB) is a specification for defining the EJB component architecture, which is distributed serverside components architecture for development and deployment. The EJB architecture is inherently trasaction, portability, multitier, and scalability and secure. A Enterprise JavaBeans typically encapsulates a business prices or business entity, making it independent of the presentation logic in the application system. EJB technology is platform independence. The EJB, which is developed only one by the user, is not rewritten or modified the code and runs multy platform. Enterprise JavaBeans is Architectureindependence. Architecture decision are made at deployment, not at development. Thereby the EJB technology are broad adaptability and protect for IT investment.
    This paper mainly study the specification, architecture, component of Enterprise JavaBean technology, and Java 2 Platform, Enterprise Edition(J2EE) for simplifying development application. The paper next discuss the relationship between EJB and J2EE; XML and JavaBean. The example illuminate that EJB components which based on server_side, support development and maintenance of enterprise application with interoperability, portability, scalability.
引文
1. BoochG . Object_Oriented Analysis and Design with Applications. Second edittion, Massachusetts:Addison_Wesley, 1994
    2. Kramer B. Toward Rormal Models of Software Engineering Processes, System Software, 1991
    3. Vinpski S. CORBA Integrating Diverse Applications Within Distributed Heterogenous Enviroments, IDDD Communication Magazine. 1997
    4. Willian S Davis. System Analusys and Design: A Structured Approach. Addison Weseley Publishing Company, 1983
    5. Sun Microsystem, Inc. All rights reserved: JavaServlet API Specification 1998
    6. O' Reilly& Associates, Inc: The Java Enterprise CD Bookshelf December 2000
    7. Nirva Morisseau_leroy, Martin Solomon, and Julie Basu: Oracle8i Java Component Programming With EJB, CORBA AND JSP December 2000
    8. Calvin Austin and Monica Pawlan : Writing Advanced Applications for the JavaTM Platform October 1999
    9. Momica Pawlan: Writing Enterprise Applications with Java 2 Enterprise Edition June 2000
    10. http://Java. sun. com/j2ee
    11. http://java. sun. com/products/ejb/
    12. Andreas Voger and Madhavan Rangarao: Programming with Enterprise JavaBeans, OTS and JTS 2000
    13. Ed Roman: Mastering Enterprise JavaBeans and the Java 2 Platform, Enterprise Edition 2000
    14. Tom Valesky: Enterprise JavaBeans: Developing Component-based Distributed 2000
    15. Herzum, Peter/ Sims, Oliver: Business Components factory: A Comprehensive Overview of Component-Based Development for the Enterprise 1999
    16. Szyperski, Clemens: Component Software: Beyond Object-Oriented Programming 1999
    17. Richard Monson-Haefel O' Reilly & Associates : Enterprise JavaBeans 2001
    18. 宋辉、江峰。Java服务器程序设计[M].清华大学出版社,1996.6
    19. 樊镜光.软构件:代表了新一代软件技术的发展方向.中国计算机报,第115版,1996.8.19
    20. Distributed systems architecture and implementation/B.W. Lampson ed.著
    
    
    21. J2EE技术实践/(美)Rick Cattell,Jim Inscore,Enterprise Partners著 北京机械工业出版社 2002
    22. 基于C++CORBA高级编程/Michi Henning Steve Vinoski著 清华大学出版社 2000
    23. J2EE技术内幕/(美)Joseph J.Bambara…[等]著 北京-机械工业出版社 2002
    24. Arthur Criffith.Java编程大全.电子工业出版社,2000
    25. OMG编.CORBA系统结构,电子工业出版社,2001
    26. 范玉成,曹军威.复杂系统的面向对象建模、分析与设计.清华大学出版社 2001
    27. 孙钟秀.分布式计算机系统.国防工业出版社,1987
    28. 施汝军.网站JSP后台解决方案[M].人民邮电出版社.2001
    29. 杨得华.服务器端的动态网页技术.计算机应用研究.1999.10
    30. 张波,张福炎.基于JSP技术的Web应用程序的开发.计算机应用研究 2001,18(5)
    31. 黄理,李积善.用JSP轻松开发Web网站.北京希望电子出版社,2001
    32. 林碧英.Web数据库存取技术.计算机工程与应用,2002.10
    33. 徐荣.电子商务原理与技术.科学出版社,2001.8
    34. 邹筱梅.XML技术与应用综述.教育信息化 2003.5
    35. 谈贤芳 刘鲁源.一种基于XML的工作流过程模型的实现.控制工程(沈阳) 2003.6
    36. 刘昕炜 杨民助.XML与电子商务集成.电脑开发与应用 2003.5
    37. 杜薇 刘伟.JAVA和XML Schema在数据有效性验证中的应用.计算机工程与设计.2003
    38. 张树亮.在JSP中用SAX解析XML文件.福建电脑.2003.7
    39. 胡雷芳.XML与电子商务.计算机时代.2003.1
    40. 周怡 李燕茹.用SQL Server2000构建数据仓库的尝试.数理医药学杂志 2003.6
    41. 江崇礼 王丽佳.基于RDBMS的地理信息集成数据库系统.计算机工程 2002
    42. 陈世清.网格计算——新一代因特网.邵阳学院学报.2002.11
    43. 李军华 潘瑜 金澜.基于ASP技术的中小型网站的设计与实现.福建电脑.2003.1

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

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

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