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 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.