Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "As the JVM runs out of memory, an OutOfMemoryError
error will occur."
A block of code or configuration is set as follows:
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/testQueue"), @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "20"), @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") }) public class TestMDB implements MessageListener { public void onMessage(Message message) { ... } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
remote.cluster.ejb.clusternode.selector=RRSelector
Any command-line input or output is written as follows:
/subsystem=ejb3/strict-max-bean-instance-pool=mdb-strict-max-pool:read-attribute(name=max-pool-size)
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Unfortunately, Management Console only provides a configuration view on this pool and not any runtime information."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.