Day 15

Quiz

A1: Point-to-point and publisher-subscriber.
A2: Synchronous and asynchronous.
A3: First, the messaging should be asynchronous; that means the receiver need not wait to receive the message. The JMS provider should notify the receiver/consumer when a message comes on the queue.

Second, the message must be delivered once and only once.

A4: A header zone, containing the header as name-value pairs; a properties zone, containing the selector properties for the message; and a body zone, which contains the content of the message.

Exercise

A1: The following code listing shows a HelloWorldPublisher.java program containing the main() method, and a message-driven bean called MessageHelloBean. HelloWorldPublisher publishes the HelloWorld message ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.