JMS Tutorial
39 Pages
English

JMS Tutorial

-

Downloading requires you to have access to the YouScribe library
Learn all about the services we offer

Description

????OverviewDescribe the concepts and some practical applications of messaging.basic structure of JMS.Write simple JMS messaging code using the publish and subscribe and point-to-point domains.Discuss advanced JMS issues such as guaranteed messaging, transactions, reliability, and recovery.Part 1: Enterprise Messaging and JMSEnterprise messagingApplication A Application BMessage-Messaging API Messaging APIOriented MiddlewareMessaging Clients Messaging ClientsTightly Coupled RPCBusinessBusinessApplication BApplication ARPCRPCClient/ServerClient/ServerBusinessBusinessApplication DApplication CRequires n * (n-1) / 2 connectionsRPCRPCClient/ServerClient/ServerJMS messagingCentralized message serverDecentralized message server (IP multicast)(hub and spoke)Application AJMS ClientJMS RouterJMS JMS ClientClientClientLocal "server"Message ServerLocal "server" Local "server" Local "server"JMS JMS JMS JMS JMS ClientClientClient Client ClientJMS Application B Application C Application DClientThe J2EE platformClient ApplicationJ2EE PlatformApplication EJB Web Client Container ContainerContainerJMS JDBC ServerDatabasePart 2: JMS Concepts and CodingWholesaler and retailer Retailer 1Update price(publish)Message Order productWholesalerServer(send)Retailer 2??????JMS featuresStandard Java APIMessage delivery modesTwo messaging modelsTransactionsReliability ...

Subjects

Informations

Published by
Reads 26
Language English
Overview
¾
¾
¾
¾
Describe the concepts and some practical applications of messaging. Describe the concepts and basic structure of JMS. Write simple JMS messaging code using the publish and subscribe and point-to-point domains. Discuss advanced JMS issues such as guaranteed messaging, transactions, reliability, and recovery.
Part 1: Enterprise Messaging and JMS
Enterprise messaging
Application A
Messaging API
Messaging Clients
Message-Oriented Middleware
Application B
Messaging API
Messaging Clients
Tightly Coupled RPC
Business Application A
RPC Client/Server
Business Application D
RPC Client/Server
Requires n * (n-1) / 2 connections
Business Application B
RPC Client/Server
Business Application C RPC Client/Server
onticalippADnoitacilppAClientLocJMSCreJ"SMCla"esvr"alrvseenlioctL"re
JMS Client
Message Server
Centralized message server (hub and spoke)
JMS messaging
Application A JMS Client Local "server"
Router
Local "server" JMS Client Application B
JMS Client
JMS Client
JMS Client
JMS Client
JMS Client
DcenertlaziedmessageserverIP(ulmcati)st
The J2EE platform
Client Application
EJB Container
JMS Server
Web Container
J2EE Platform
Application Client Container
JDBC Database
Part 2: JMS Concepts and Coding
Wholesaler and retailer
Wholesaler
Update price (publish)
Message Server
Retailer 1
Order product (send)
Retailer 2
JMS features
¾ ¾ ¾ ¾ ¾ ¾
Standard Java API Message delivery modes Two messaging models Transactions Reliability levels Persistent messaging
JMS messaging domains
Publish and subscribe ¾Many consumers per message Point-to-point ¾One consumer per message
Pumbaln
Publisher
isahenamdenstubscr
Topic
bi:eSupplychain
Subscriber