12.07.2015 Views

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

Beginning Java EE 6 with GlassFish 3, Second Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 13 ■ SENDING MESSAGESFigure 13-6. Multiple subscribersJMS APIThe JMS API is located under the javax.jms package and provides classes and interfaces for applicationsthat require a messaging system (see Figure 13-7). This API enables asynchronous communicationbetween clients by providing a connection to the provider, and a session where messages can be createdand sent or received. These messages can contain text or other different kinds of objects.Figure 13-7. JMS API (derived from Figure 2-1 of the JMS 1.1 specification)385

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!