Messaging is playing an increasingly important role in enterprise computing. Its advantages are a natural result of several factors: the trend towards peer-to-peer computing, greater platform heterogeneity, and greater modularity, coupled with the trend away from synchronous communication between processes.
In its effort to stay on top of important industry trends, Sun announced April 1998 (at the JavaOne Developer Conference) its plans to publish the Java Message Service (JMS) API, an interface for using existing enterprise messaging systems in a uniform manner. The version 1.0 specification, which was released in July, provides a set of interfaces and associated semantics that define how a JMS client accesses the facilities of an enterprise messaging product.
Since its release, almost twenty vendors have stepped up to endorse the specification (including companies like IBM, Oracle, and BEA) and many companies have produced implementations.
Inhaltsverzeichnis (Table of Contents)
- 1 Messaging and JMS
- 1.1 What is messaging?
- 1.2 Different types of message architectures
- 1.3 Existing JMS provider
- 2 Java Messaging Service API
- 2.1 Overview
- 2.2 What JMS does not include
- 2.3 JMS details
- 2.4 JMS message model
- 2.5 JMS common facilities
- 2.6 JMS point-to-point model
- 2.7 JMS publish/subscribe model
- 2.8 Remaining API
- 3 Overview Infomatec Messaging Queue
- 3.1 Overview
- 3.2 UML design
- 3.3 JNDI
- 3.4 RMI
- 4 The basic message system
- 4.1 Overview
- 4.2 Create connection
- 4.3 Send messages
- 4.4 Storing of objects
- 4.5 Receive messages
- 4.6 Close connection
- 5 Extension of IMQ
- 5.1 Acknowledgement
- 5.2 Basic Publish/Subscribe
- 5.3 Request/Reply
- 5.4 Message types
- 5.5 QueueBrowser
- 5.6 Error handling
- 5.7 Dynamic class loading
- 5.8 Distribution of class files
- 5.9 Log file
- 5.10 Authentification
- 5.11 Server command line
- 5.12 IMQ and Applets
- 6 Administration
- 6.1 Properties files
- 6.2 Administrative objects
- 6.3 Administration tool
- 7 The Infomatec package
- 7.1 JNDI browser
- 7.2 ServerInfo
- 7.3 IMQ dependent administrative objects
- 8 Using and testing IMQ
- 8.1 Setting up the system
- 8.2 Example and test programs
- 9 Enhancements
- 9.1 Remaining Features
- 9.2 Sockets
- 9.3 RMI over IIOP
- 9.4 Multiple server system
- 9.5 RMI and firewalls
Zielsetzung und Themenschwerpunkte (Objectives and Key Themes)
This master's thesis aims to evaluate and implement the Java Messaging Service (JMS) within the context of the Infomatec Messaging Queue (IMQ). The work focuses on practical application and extension of existing JMS functionalities.
- Evaluation of existing JMS providers and architectures.
- Detailed explanation of the JMS API and its functionalities.
- Implementation and extension of the Infomatec Messaging Queue (IMQ).
- Exploration of advanced JMS features like Publish/Subscribe and Request/Reply.
- Practical application and testing of the implemented system.
Zusammenfassung der Kapitel (Chapter Summaries)
1 Messaging and JMS: This chapter introduces the concept of messaging, differentiating between various message architectures. It also provides an overview of existing JMS providers available in the market, laying the groundwork for understanding the broader context of the thesis's focus on JMS and its implementation within IMQ.
2 Java Messaging Service API: This chapter delves into the specifics of the JMS API, covering its functionalities, limitations, and core components. It meticulously explores the JMS message model, common facilities, point-to-point, and publish/subscribe models, providing a comprehensive understanding of the underlying mechanisms of JMS. The chapter establishes a strong foundation for subsequent chapters focusing on the implementation and extension of IMQ.
3 Overview Infomatec Messaging Queue: This chapter provides a high-level overview of the Infomatec Messaging Queue (IMQ), including its design (using UML diagrams), its reliance on JNDI and RMI, setting the stage for a detailed examination of IMQ's architecture and functionality in later chapters. The overview serves to contextualize the subsequent detailed exploration of IMQ's implementation and extensions.
4 The basic message system: This chapter details the fundamental functionalities of the IMQ message system, covering connection creation, message sending and receiving, and object storage. It establishes the core operations for basic message handling within IMQ, paving the way for understanding more advanced features discussed in later chapters. The chapter focuses on establishing a functional basic messaging system, which is further extended in subsequent sections.
5 Extension of IMQ: This chapter covers several extensions implemented for the IMQ, such as acknowledgement mechanisms, Publish/Subscribe functionality, Request/Reply capabilities, different message types, and error handling. It also examines features such as QueueBrowser, dynamic class loading, class file distribution, logging, authentication, server command-line operations, and IMQ's interaction with applets. These extensions demonstrate the practical application and expansion of the core messaging capabilities presented in previous chapters. This chapter highlights the adaptability and extensibility of the IMQ system.
6 Administration: This chapter focuses on the administrative aspects of IMQ. It details the configuration through properties files, describes administrative objects, and introduces the administrative tool for managing and monitoring the IMQ system. The chapter underscores the importance of effective system management for ensuring reliable and efficient message handling.
7 The Infomatec package: This chapter outlines the components included within the Infomatec package, such as the JNDI browser and ServerInfo tools, along with other administrative objects dependent on IMQ. It provides a practical overview of the tools and resources available for developers and administrators working with IMQ.
8 Using and testing IMQ: This chapter provides practical guidance on setting up and testing the IMQ system, including example test programs. This demonstrates the practical implementation and verification of the functionalities described in previous chapters.
9 Enhancements: This chapter explores potential future enhancements to the IMQ system. It discusses additional features, the use of sockets, RMI over IIOP, the implementation of a multiple-server system, and considerations for using RMI in environments with firewalls. This demonstrates the potential for further development and scalability of IMQ.
Schlüsselwörter (Keywords)
Java Messaging Service (JMS), Message Queues, Infomatec Messaging Queue (IMQ), Point-to-Point Messaging, Publish/Subscribe Messaging, Message-Oriented Middleware (MOM), API, RMI, JNDI, UML, Implementation, Evaluation, Messaging Architectures.
Infomatec Messaging Queue (IMQ): A Comprehensive Guide - FAQs
What is this document about?
This document provides a comprehensive overview of the Infomatec Messaging Queue (IMQ), a Java Messaging Service (JMS) implementation. It covers the theoretical background of messaging and JMS, a detailed explanation of the IMQ architecture and functionality, practical implementation examples, and potential future enhancements.
What are the key objectives and themes explored in this document?
The main objectives are to evaluate existing JMS providers, thoroughly explain the JMS API, implement and extend the IMQ, explore advanced JMS features (Publish/Subscribe and Request/Reply), and practically apply and test the implemented system. Key themes include the practical application of JMS, the architecture and implementation details of IMQ, and the extension of core functionalities to enhance its capabilities.
What are the different chapters and their summaries?
The document is structured into nine chapters. Chapter 1 introduces messaging and JMS. Chapter 2 details the JMS API. Chapter 3 provides an overview of IMQ. Chapter 4 describes the basic message system of IMQ. Chapter 5 covers IMQ extensions. Chapter 6 focuses on IMQ administration. Chapter 7 outlines the Infomatec package. Chapter 8 guides users on using and testing IMQ. Chapter 9 explores potential future enhancements.
What are the core functionalities of the Infomatec Messaging Queue (IMQ)?
IMQ's core functionalities include connection creation, message sending and receiving, object storage, acknowledgement mechanisms, Publish/Subscribe functionality, Request/Reply capabilities, handling various message types, error handling, and dynamic class loading. It also includes features like QueueBrowser and administrative tools.
How does IMQ handle different messaging models?
IMQ supports both the Point-to-Point and Publish/Subscribe messaging models, offering flexibility in how messages are sent and received. The document details how these models are implemented within the IMQ framework.
What technologies does IMQ utilize?
IMQ leverages Java Messaging Service (JMS), Java Naming and Directory Interface (JNDI), and Remote Method Invocation (RMI). The document also discusses potential future use of sockets and RMI over IIOP.
What are the administrative aspects of IMQ?
IMQ's administration involves configuring properties files, utilizing administrative objects, and employing an administrative tool for managing and monitoring the system. The document describes these aspects in detail.
What is included in the Infomatec package?
The Infomatec package includes tools like the JNDI browser, ServerInfo, and other IMQ-dependent administrative objects, providing resources for developers and administrators.
How can I set up and test IMQ?
The document provides practical guidance on setting up the IMQ system and includes example test programs to verify its functionality.
What are some potential future enhancements for IMQ?
Future enhancements discussed include integrating sockets, implementing RMI over IIOP, creating a multiple-server system, and addressing RMI compatibility issues with firewalls. These potential improvements suggest a path towards greater scalability and robustness.
What are the key keywords associated with this document?
Key keywords include Java Messaging Service (JMS), Message Queues, Infomatec Messaging Queue (IMQ), Point-to-Point Messaging, Publish/Subscribe Messaging, Message-Oriented Middleware (MOM), API, RMI, JNDI, UML, Implementation, Evaluation, and Messaging Architectures.
- Citation du texte
- Michael Dempfle (Auteur), 2000, Evaluation and Implementation of the Java Messaging Service (JMS), Munich, GRIN Verlag, https://www.grin.com/document/32274