Design and Implementation of Enterprise Java Bean Clustering V2.0 of JTang Application Server

Author
ChenWeiCai
Advisor
YinJianWei
School
Zhejiang University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
70
Citations
0

Request the full text

Abstract

The Qiantang Application Server (JTang Application Server) middleware technology of Zhejiang University Engineering Research Center in the background and trends in the application software platform for the financial securities industry, enterprise information, and e-government applications developed large-scale infrastructure middleware The platform is a J2EE application server supports EJB, JNDI, JMS, JMX, DS, JSP / Servlet technology. EJB cluster services in order to provide highly reliable service EJB (Enterprise Java Bean), the need to develop EJB cluster failover and load balancing can be achieved, providing highly reliable, high-performance external services. Thesis research Qiantang EJB cluster key technologies, system implementation and performance testing. The paper first introduces middleware platform technology background and knowledge of the cluster on EJB clustering necessity. Then brief the Qiantang application server software platform, clear the Qiantang EJB cluster design goals: efficient load balancing and failover and to design cluster JTang EJB architecture combined with JTang software platform itself. Next, the key technologies of the thesis. EJB services related to RMI and JNDI to achieve reliable EJB services, we must first achieve reliable RMI service and JNDI service, called HA-RMI and HA-JNDI. HA-JNDI design, the paper presents a double JDNI tree storage structure designed for the storage structure lookup and binding of the first global local paper designed an intelligent agent; design of the HA-RMI, by The agent load balancing and failover. EJB cluster key is to achieve a stateful session bean cluster, where the key is the state of stateful session beans synchronized papers as the storage structure using two hash table to maintain a stateful session bean, the EJB container client from the Qiantang intercept start maintenance stateful session bean state synchronization. Pluggable load paper design a balanced service users according to their own indicators for load balancing, has good scalability. Papers last section describes the system, including the detailed design of each sub-module, browser-based console. Last comprehensive test system, test content including: functional testing, load balancing and failover Stateful Session Bean and Stateless Session Bean clusters of multi-machine multi circumstances performance testing and stress testing. The test results show that the system can be a good support for load balancing and failover, system the EJB services of high reliability, while the performance of the system processing services better than the non-cluster system.

Table of contents

Abstract 3-4 ABSTRACT 4-5 directory 5-8 the diagram directory 8-10 table directory 10-11 first chapter 11-20 1.1 Introduction 11-12 1.2 Middleware Overview 12-13 1.3 Cluster Overview 13-14 1.3.1 Cluster Profile 13 1.3.2 cluster classification 13-14 1.4 EJB cluster 14-18 1.4.1 Enterprise Java Beans 14 1.4.2 EJB cluster 14-15 Research 1.4.3 an EJB cluster 15-18 1.5 research background and the thesis work 18-19 1.6 This chapter Summary 19-20 system requirements, design goals and structure 20-29 2.1 JTang middleware platform 20 2.2 JTang EJB cluster needs analysis 20-22 2.2.1 Functional Requirements 21-22 2.2.2 performance requirements 22 2.2.3 reliability requirements 22 2.2.4 security requirements 22 2.3 JTang EJB cluster design goals 22-23 2.4 system architecture 23-28 2.4.1 underlying communications platform 26-27 2.4.2 underlying interface design 27-28 2.5 This chapter Summary 28-29 Chapter reliable JNDI and RMI achieve 29-43 3.1 JNDI 29-30 3.1.1 JNDI architecture 29-30 3.2 HA-JNDI 30-37 3.2.1 JNDI cluster three solutions 31-33 3.2.2 HA-JNDI storage structure 33-34 3.2.3 HA-JNDI lookup and binding rules 34-35 3.2.4 HA-JNDI service to establish 35-36 3.2.5 HA-JNDI service initialization 36-37 3.3 RMI remote method call 37-39 3.3.1 RMI Overview 37-38 3.3.2 RMI principle 38-39 3.4 HA-RMI 39-42 3.4.1 HA-RMI load placed point 40 3.4.2 HA-RMI achieve 40-42 3.5 This chapter Summary 42-43 Chapter IV state synchronization and load balancing 43-64 4.1 stateful session bean 43-49 4.1.1 Stateful Session Bean lifecycle 44-45 4.1.2 JTang stateful session beans call process analysis 45-49 4.2 Stateful Session Bean state synchronization 49-55 4.2.1 state synchronization strategy 49-50 4.2.2 state synchronous storage structure 50-51 4.2.3 Stateful Session Bean state consistency maintenance 51-54 4.2.4 status to sync specific realization 54-55 4.3 load balancing 55-63 4.3.1 load balancing Category 56-57 4.3.1.1 software / hardware load balancing 56 4.3.1.2 local / global load balancing 56-57 4.3.1.3 network layers on load balancing 57 4.3.2 load balancing strategy 57-59 4.3.3 load balanced 59-63 4.3.3.1 load balancing interface 59-60 4.3.3.2 load strategy to achieve 60-63 4.4 This chapter Summary 63-64 system performance analysis 64-82 5.1 system 64-73 5.1.1 System architecture 64-65 5.1.2 system package, class design 65-68 5.1.3 each module class diagram 68-73 5.1.3.1 the ClusterService sub-module class diagram 68-71 5.1.3.2 SessionStateService sub-module class diagram 71-72 5.1.3.3 HA-JNDI sub-module class diagram 72-73 5.2 interface design 73-75 5.3 system test 75-81 5.3.1 test environment 75-76 5.3.1.1 software environment 75-76 5.3.1.2 hardware environment 76 5.3.2 test content 76-78 5.3.2.1 function test 76-77 5.3.2.2 Performance Test 77-78 5.3.3 Test Results 78-81 5.3.3.1 cluster system function test results 78 5.3.3.2 stateful session bean cluster performance test results 78-80 5.3.3.3 Stateless Session Bean the cluster performance test results 80-81 5.3.4 results analysis 81 5.4 This chapter Summary 81-82 Chapter Summary and Outlook 82-84 6.1 thesis work 82-83 6.2 Future Work Looking 83-84 the References 84-87 Acknowledgements 87-88 of resume 88

Related dissertations

  1. Study on Dynamic Feedback Load Balancing Algorithm Based on Cluster
    WeiQinLei ·Chongqing University ·2013 ·Master's thesis
  2. Key technology research cluster router
    YuZuo ·Huazhong University of Science and Technology ·2005 ·Doctoral dissertation
  3. Study of Load Balancing Algorithm Based on Process Migration Mechanism in Heterogeneous Cluster Environment
  4. Beowulf cluster load balancing problem
    ChenChang ·Central South University ·2007 ·Master's thesis
  5. The Application of the Loading-balance Cluster in the Enterprise Computing Platform
    WuZhiQiang ·Suzhou University ·2007 ·Master's thesis
  6. Web server load balancing cluster technology research
    MaiJingJing ·University of North ·2008 ·Master's thesis
  7. Struts-based Web Database Research and Application
    YouPinFang ·Wuhan University of Technology ·2008 ·Master's thesis
  8. Research on Clustering Performance of Web Application Servers
    ChenXiaoLing ·China University of Petroleum ·2007 ·Master's thesis
  9. The Application and Research Based on Middleware Technology
  10. Analysis and Implement of Collaborative Learning System
    YaoLi ·Southeast University ·2004 ·Master's thesis
  11. The Application of Load Balance for E-business Website
    JieZhen ·Tianjin University ·2012 ·Master's thesis
  12. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  13. The Rearch on High Availability of Master-slave Cloud Platforms
    DengPeng ·Xiangtan University ·2013 ·Master's thesis
  14. The Research of Dynamic Resource Management Key Technologies in Cloud Computing
    FanYing ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  15. Research and Design of Scalable Network Server Based on Linux
  16. Research and application of pushing send technology of server cluster based on
  17. Research and Implementation of DNS64Key Technology in the IPv4/IPv6Transition
    ShaoShuai ·Harbin Engineering University ·2013 ·Master's thesis
  18. The Research for Distributed Control and Addressing Mode of Software Defined Network
  19. Research on Cloud Resource Scheduling Method Across Cloud Computing Federation
    LvQiuYun ·Wuhan University of Technology ·2013 ·Master's thesis
  20. Simulation and Implementation for Robust Energy-efficient Routing Algorithms Based on Network Topology in IP Backbone Networks
    LiuJinZuo ·Northeastern University ·2013 ·Master's thesis