Lightweight Design and Integration on Message-Oriented Middleware Based on JMS
- Author
- LuPeng
- Advisor
- ZhouRongHui
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 80
- Citations
- 1
Abstract
With the development of network technology, many applications need to be transferred to hetergeneous platform of network environment, which has raised new requirements to the new generation of software development. Middleware is put forward for these requirements, and now is becoming a hotspot in computer research.Message-Oriented Middleware (MOM) is the most important branch of Middleware, it adopts message-driven mode, based on message transmission, providing efficient and reliable communication service for data exchange between applications under network environment hetergeneous platform. MOM can effectively shield the details of rock-bottom network protocol, operation system and so on, so that it can simplify the development and integration of enterprise application under heterogeneous environment. JMS (Java Message Service) proposed by Sun Microsystems, Inc. is the interface standard of MOM based on JAVA to create loose coupling message system.The thesis does some researches on common communication modes, through camparation and analysis, and draws some characters and advantages of JMS. This thesis analyzes two messaging types of JMS:P2P (Point-to-Point) based on Queue and Pub/Sub based on Topic. The thesis introduces the entire framework of JMS API and JMS message structure. Besides that, the thesis introduces the open source of ActiveMQ and analyzes the implementation of its message persistence.The thesis makes a research mainly on message transmission of MOM. The thesis has achieved 3 kinds of implementations which are based on different Programming concepts and makes deep Comparison analysis and research. The key point of theoretical research of the thesis is to deeply understand and analyze the design concepts of Spring framework, and use Spring lightweight framework to build messaging system based on MDPs (Message Driven POJOs).The thesis introduces the 10 fallacies while developing a distributed system. Combining with system’s functional requirements, the thesis emphsizes on the network congestion of large mount of data and the information security of networt transmission, it proposes feasible solutions. The thesis also designs transcation management, multi-thread management and logging management to improve system throughput and maintainability. Through these solutions we can integrate theory implementation of message transmission based on MDPs, to make it be a safe, stable, maintainable message transmission system.
Table of contents
Abstract 6-7
ABSTRACT 7-9
the
directory 9-12
Chapter 1 Introduction 12-17
the
study 1.1 Background
In 1.2 middleware 12-13
1.2.1 middleware definition 12-13
1.2.2 Classification of middleware
1.3 Message Oriented Middleware and JMS 13-14
the
1.3.1 news Middleware 13-14
1.3.2 JMS Introduction 14
In 1.3.3 Product Status
1.4 Research content and structure of the paper 14-17
1.4.1 Research 14-15
In 1.4.2 papers 15-17
Chapter 2 Java Message Service ActiveMQ analysis 17-31
2.1 Communication mode 17-19
2.1.1 commonly used mode of communication 17-18
2.1.2 data driven and behavior-driven communication
2.1.3 Select data-driven JMS 18-19
2.2 JMS specification 19-26
the
2.2.1 news The model 19-20
2.2.2 JMS API 20-25
2.2.3 JMS message structure 25-26
2.3 ACTIVEMQ 26-30
the
ActiveMQ 2.3.1 Characteristics list 26-27
In 2.3.2 message persistence 27-30
2.5 This chapter section 30-31
Chapter 3 the MDPS-based messaging lightweight achieve 31-47
3.1 messaging basic realization 31-38
the
3.1.1 message The send side implementation 32-35
In 3.1.2 news Receiver implementations 35-36
3.1.3 Messaging server realization of the principle 36-38
In 3.1.4 message filtering 38
3.2 based on the MDB message passing programs achieve 38-40
3.3 MDPs-based messaging program 40-44
the
Lightweight 3.3.1 The framework Spring 40-41
3.3.2 POJOs 41-42
3.3.3 based on MDPs messaging achieve 42-44
3.4 MDPs with two other options 44-46
3.4.1 basic way to achieve the 44-45
3.4.2 with the MDB way of comparison 45-46
3.5 This chapter section 46-47
Chapter 4 Design and Implementation of the messaging system 47-73
4.1 messaging system functional design 47-50
4.1.1 distributed system design constraints 47-48
4.1.2 message passing system functional requirements 48-49
4.1.3 messaging architecture design 49-50
4.2 messaging system overall planning 50-51
4.2.1 sender achieve 50-51
4.2.2 Receiver implementations 51
4.3 Security Management Module Design and Implementation 51-57
4.3.1 Information security considerations 52
4.3.2 security module design 52-53
4.3.3 SignedObject to guarantee serializable object integrity 53
4.3.4 SealedObject guarantee the serialized objects confidentiality 53
the
4.3.5 security The module achieve 53-57
The Design and Implementation of the 4.4 database management 57-61
4.4.1 iBatis 58
In 4.4.2 database processing module to achieve 58-61
4.5 transaction management 61-64
4.6 multi-threaded Management Design and Implementation 64-67
4.6.1 competitive consumer 64-65
4.6.2-threaded The pool management design 65-67
4.7 log management The Design and Implementation 67-70
4.7.1 Log4j 67-68
4.7.2 Spring AOP 68
4.7.3 AOP log management 68-70
4.8 message transfer system functional test 70-72
4.8.1 test environment The 70-71
4.8.2 function test and concluded 71-72
4.9 This chapter Summary 72-73
the
thesis in Chapter 5 Summary and Outlook 73-75
5.1 thesis summary 73
In 5.2 work Outlook 73-75
the
Acknowledgements 75-76
the
References 76-79
The
studying for a master's degree published during the thesis and the main research project 79
Related dissertations
- The Research and Implementation of Message-Oriented Middleware Based on XML
- Enterprise Application Integration Middleware Based on research news
- Research and Implementation of Distributed Transaction System Based on JMS
- The Empirical Research for the Influence of Institutional Shareholdings on the Choice of Independent Auditor
- Institutional Investors Heterogeneity,Equity Balance and Corporate Performance
- The Impact of Financing Constraints on Firms’ Export Behavior
- Research on the Relationship among College Students’ Entrepreneurial Team Heterogeneity, Business Strategy and Team Performance
- FDI Entry Mode Choice of Chinese Firms:a Heterogeneous Firm Perspective
- Research on the Transition from Export Frade to the Foreign Investment of Private Enterprises in Zhejiang
- Study on Effect of Institutional Investors’Heterogeneity on Earning Management
- The Effect of Institutional Investors on Corporate Tax Evasion
- The Tournament Problem Based on the Agents’ Contribution and Multitask
- A Study of the Heterogeneous Institutional Investors on the Impact of Management Compensation
- Study on Impacts of Team Heterogeneity upon Innovation Performance of Research Team
- Board Characteristics and Abnormal Executive Compensation
- Research on Efficiency Evaluation and Heterogeneity of Listed Manufacturing Companies in China
- Study of the Price Fluctuation in China Security Market Based on the Nonlinearitymodel of Heterogeneous Investors
- Tree Segmentation-Based Ontology Mapping
- The Research of Cross-Media Retrieval Technology
- Research on Comparison Platform for Social Assistance of Low-incomes Families in Hunan Province