Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WildFly Performance Tuning
  • Table Of Contents Toc
WildFly Performance Tuning

WildFly Performance Tuning - Third Edition

3.8 (6)
close
close
WildFly Performance Tuning

WildFly Performance Tuning

3.8 (6)

Overview of this book

Packed with practical examples, this book looks at a different aspect of performance tuning in each chapter and shows you how to apply them to their existing Java applications. Anyone with an interest in learning more and improving the performance of Java-based technology in general, all the way to WildFly in particular, will find this book useful.
Table of Contents (12 chapters)
close
close
8
8. Tuning Web Applications and Services
11
Index

The message and its optimizations


In JMS, a message, javax.jms.Message, consists of a header, some properties, and a body. In the body, the actual payload of business data is located. As for most payloads, the less the data transferred, the less I/O will occur, which in turn infers increased throughput. Keeping a JMS message as small as possible puts less strain on both the network and the persistence layer of the JMS provider.

The following are the five types of messages available in JMS, each defining what the message body can contain:

  • javax.jms.TextMessage: It holds a Java string object.

  • javax.jms.ObjectMessage: It holds a serialized Java object.

  • javax.jms.MapMessage: It holds a message constructed by a set of key-value pairs. The keys are String objects, and the values are Java primitive data types.

  • javax.jms.StreamMessage: It holds a stream of Java primitive data types.

  • javax.jms.BytesMessage: It holds a message constructed by uninterpreted bytes.

Tip

For all JMS message types, the keep-it...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WildFly Performance Tuning
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon