17.1JMS Example Overview 233
17.2 writing a simple JMS application 233
17.2.1 starting a JMS provider 234
17.2.2 creating a JMS managed Object 234
17.2.3 building all Simple examples 235
17.2.4 sending a message 235
17.2.5 receiving messages synchronously 238
17.2.6 using message listeners to complete asynchronous message delivery 240
17.2.7 browsing messages in a queue 242
17.2.8 running multiple consumers in the same destination 245
17.2.9 Confirmation Message 245
17.3 Writing more advanced JMS applications 247
17.3.1 using persistent subscriptions 247
17.3.2 using local transactions 249
17.4 Writing high-performance and extensible JMS Applications 254
17.4.1 using a shared non-persistent subscription 254
17.4.2 using a shared persistent subscription 256
17.5 sending and receiving messages using a simple web App 257
17.5.1websimplemessage facelets Page 257
17.5.2websimplemessage managed bean258
17.5.3 Running Websimplemessage Example 259
17.6 receiving messages asynchronously using a message-driven bean 261
17.6.1simplemessage Example Overview 261
17.6.2simplemessage Application Client 261
17.6.3simplemessage Message-Driven bean class 262
17.6.4 Running Simplemessage Example 263
17.7 sending a message to an MDB from a session bean 264
17.7.1 Writing application components for the Clientsessionmdb sample 265
17.7.2 Running Clientsessionmdb Example 267
17.8 using entities to join two MDB messages 268
17.8.1clientmdbentity Sample Application Overview 269
17.8.2 Writing application components for the Clientmdbentity sample 270
17.8.3 Running clientmdbentity Example 272
17.9 creating a JMS resource using the NetBeans IDE 274
17.9.1 using the NetBeans IDE to create a JMS resource 274
17.9.2 using NetBeans IDE to delete JMS Resources 275
Java EE Tutorials (+)-Example of a JavaScript message service