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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "After an MDB instance's onMessage()
method returns, the request is complete, and the instance is placed back in the free pool."
A block of code is set as follows:
<jms-destinations> <jms-queue name="TicketQueue"> <entry name="java:jboss/jms/queue/ticketQueue"/> <durable>false</durable> </jms-queue> </jms-destinations>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
@Stateless public class SampleEJB { @Resource(mappedName = "java:/ConnectionFactory") private ConnectionFactory cf; }
Any command-line input or output is written as follows:
CREATE DATABASE ticketsystem; CREATE USER jboss WITH PASSWORD 'jboss'; GRANT ALL PRIVILEGES ON DATABASE ticketsystem TO jboss;
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: "For example, the Eclipse's File menu includes an option JPA Entities from Table that (once a connection has been set up to the database) allows reversing your DB schema (or part of it) into Java entities."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.