The Research of Message-Oriented Middleware Based on JMS
- Author
- WuQiang
- Advisor
- ZhangNanPing
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 182
- Citations
- 11
Abstract
Along with the expanding of distributed application, the programmingarchitecture based on asynchronous and decoupling becomes more and more popular. Althoughlots of different resolve proposals for enterprise application integrate appear, MOM is always thekernel part of these proposals. Because Message-Oriented Middleware is the loosecommunication means among process, cooperation of distributed nodes have heavy flexibility.Firstly, this article introduces the type and definition of the middleware, Middleware is aisolatable system software or server program which can be used by distributed application toshare resource in the different technology. Middleware is located on the operating system of clientand server to manage the computer resources and network communication.Then the article introduces some popular MOM products, the basic conceptions, the datastructure of message, the programming model, the message transferring model of PTP andpub/sub about JMS. JMS is a criterion which is put by SUN corp. and its cooperative company tounify the interface of MOM. It is a interface to access the enterprise message system but not aimplement. It simplizes the enterprise application developement by providing standard interfaceto produce, to send, to receive the message, and it is convenient for Java applcation programs inthe message system to exchange message.Many technologies will be used in designing and using the MOM based on JMS, theysupplement for each other and realize different function. In the chapter 3, this article introducesJNDI,XML,JDBC,JTS,JTA,JMX,JAAS,JCA several techniques and standards which are popularin the platform of JAVA EE.Based on the foundation of these theories, we put forward the design model by.compartmentalizing it as Message Server, JNDI Server, network communication, theimplements of JMS criterion, log, persistent several departments. According the model above, thisarticle introduces the important concept and implemented code.In the end, this article introduces how to use the API of the developed MOM to publish,receive, subscribe the message, also enumerates a example in the reality, the appliance of JMS inthe ditributed bank system, indicating how to develop a distributed application based on MOM.Along with more and more enterprises begin to pay attention to the flexabilityand extendability of system, MOM will be more and more important in thebank, telecom, finance and so on large-scacle transaction domains to integratedifferent isomerous platform, ensure the trade integrality.
Table of contents
Abstract 4-5
Abstract 5-11
Chapter 1 Introduction 11-18
1.1 middleware classification 11-15
1.1.1 messaging middleware 12-13
1.1.2 transaction processing middleware 13
1.1.3 data access middleware 13-14
1.1.4 distributed object middleware 14
1.1.5 Security Middleware 14
1.1.6 network middleware 14-15
1.1.7 Service middleware 15
1.2 middleware development and challenges 15-16
1.3 thesis research and practical significance 16-18
1.3.1 research 16-17
1.3.2 practical significance 17-18
Chapter 2 of messaging middleware with the JMS 18-26
2.1 common messaging middleware products 18-20
2.1.1 MQSeries 18-19
2.1.2 MSMQ 19
2.1.3 TongTech TongLINK / Q 19-20
2.1.4 JORAM 20
2.2 JMS basic concepts 20-21
2.3 JMS basic functions 21
2.4 JMS message transport mode is 21-22
2.4.1 point-to-point (PTP) way 21-22
2.4.2 publish / subscribe (pub / sub) way 22
2.5 JMS message data structure 22-24
2.5.1 header 23
2.5.2 Properties 23-24
2.5.3 message body 24
2.6 JMS API programming model 24-26
2.6.1 JMS control API 24-25
2.6.2 JMS abnormal 25-26
Chapter 3 JMS-based messaging middleware technology 26-37
3.1 JNDI 26-27
3.2 XML 27-29
3.2.1 XML definition 27
3.2.2 XML structure 27-28
3.2.3 XML parser 28-29
3.3 JDBC 29-30
3.4 JTS and JTA 30-31
3.5 JMX 31-33
3.5.1 JMX Overview 31
3.5.2 device layer (Instrumentation Level) 31-32
3.5.3 agent layer 32-33
3.5.4 distributed services layer 33
3.5.5 Additional Management Protocol API 33
3.6 JAAS 33-35
3.7 JCA 35-37
Chapter 4 System Design and Implementation 37-67
4.1 Introduction 37
4.2 system architecture 37-38
4.3 Message Server design 38-49
4.3.1 AgentServer 40-41
4.3.2 Notification 41
4.3.3 Engine 41-46
4.3.4 Channel 46-47
4.3.5 Agent 47-49
4.3.6 AgentId 49
the JNDI Server 4.4 design 49-51
4.4.1 JndiServer 49-50
4.4.2 TcpServer 50
4.4.3 ServerImpl 50-51
4.4.4 ContextManager 51
4.5 network communication design 51-52
4.5.1 TcpProxyService 51-52
4.5.2 TcpConnectionListener 52
4.5.3 TcoConnection 52
4.6 JMS specification 52-59
4.6.1 ConnectionFactory 52-54
4.6.2 Connection 54-55
4.6.3 Session 55-56
4.6.4 Destination 56
4.6.5 MessageProducer 56-57
4.6.6 MessageConsumer 57
4.6.7 MessageListener 57-59
4.7 log 59-61
4.8 persistence design 61-65
4.8.1 DatabaseService 61-63
4.8.2 RDBMSAdapter 63
4.8.3 database table design 63-65
4.9 configuration file 65-67
Chapter 5 JMS-based messaging middleware application 67-78
5.1 API use 67-74
5.1.1 Queue and Topic created a message carrier and bind Jndi 67-68
5.1.2 Send Message 68-69
5.1.3 receive messages 69-70
5.1.4 announced 70-71
5.1.5 Subscribe to news 71
5.1.6 Subscribe to news 71-72
5.1.7 Consumer news 72
5.1.8 on Queue cleanup operations 72
5.1.9 set the message listener 72-73
5.1.10 message received expired 73-74
5.2 applications in distributed multi-level savings deposit and withdrawal system 74-78
5.2.1 needs analysis 74-75
5.2.2 application system structure 75-76
5.2.3 system architecture advantages 76-78
Chapter 6 summarizes 78-80
6.1 paper summarizes 78
6.2 Looking 78-80
the
References 80-82
Acknowledgements 82-83
studying for a master's degree during the thesis 83
Related dissertations
- Design and Implementation of JMS Based Message-oriented Middleware
- Semantic application integration in messaging middleware
- Application and Research of JMS Technology in the Computer Supported Collaborative Work
- The Unicom Integration Information Issuing Platform Based on J2EE
- Application integration platform based on Message Oriented Middleware Technology Enterprises
- Design and Implementaion of Information System with eEnabling Middleware
- Research on Models of Investment of Small and Medium-Sized Property and Casualty Insurance Company
- Research and Implementation on Power Supply Enterprises Security Apparatus Management System
- Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
- Research on the Key Technologies of Enterprise Assets Management Based on IOT-mode and its System Implementation
- Investigation of Source Stirred Reverberation Chamber Based on Array Antenna
- Research on Algorithms and Characteristics Simulation of Electromagnetic Scattering from Complex Target
- The Project Management Study of Building Petroleum & Petrochemical EAI
- The Design and Implementation of Water Supply Remote Monitoring System Based on Web
- Server-Side Design and Realization of Monitoring System
- Research and Design of Dns Monitoring System Based on Passive Package Analysis
- Measurement of the Diameter of the Coronary Cardiovascular
- Study on Parallelization of Time-and Freguency-Domain MoM Based on Graphics Processing Units
- The design and Realization of the system of furniture display based on VRML
- Research and Implementation of Data Exchanging Platform Based on Publish/Subscribe Mechanism