In this book, you will find a number of text styles 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: "The EJB is annotated using @Startup."
A block of code is set as follows:
@PreDestroy
public void closeClient() {
client.close();
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
private Client client;
private List<WebTarget> targets;
@Resource
ManagedExecutorService mes;
In order to increase simplicity and readability, some code examples are shortened to their essence. Java import statements are only included for new types and code parts that are insignificant to the example are omitted using three dots (...).
Any command-line input or output is written as follows:
mvn -v
New terms and important words are shown in bold.