JMS Best Practices

The following paragraphs describe some best practices for coding JMS applications.

Avoid Unneeded Features

JMS provides a powerful messaging facility with support for transactions, persistence, durable subscribers, and message selection and sorting. While these are important features of WebLogic's JMS implementation, they do affect the messaging system's performance. Selecting the correct acknowledgment mode or using nonpersistent messages where appropriate can greatly increase the throughput of a JMS application.

Avoid unnecessary features for maximum JMS performance.

Selection Performance Costs

JMS message selectors are a convenient and powerful means to filter messages from a queue or topic, but care must be taken to ensure ...

Get J2EE™ Applications and BEA™ WebLogic Server™ now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.