To help you get the most from the text and keep track of what’s happening, a number of conventions have been used throughout the book.
Examples that you can download and try out for yourself generally appear like this:
Listing: Example Title
This section provides the code for the example.
Important | Boxes like this one hold important, not-to-be forgotten information that is directly relevant to the surrounding text. |
Tip | Tips, hints, tricks, and asides to the current discussion are offset and placed in italics like this. |
As for styles in the text:
Important new terms and important words are shown in italics when they are introduced.
Keyboard strokes are shown like this: Ctrl+A.
File names, URLs, and code within the text are shown like this: persistence.properties.
Code is presented in the following two ways:
In code examples, new and important code is highlighted with a gray background.
The gray highlighting is not used for code that's less important in the pre sent context, or has been shown before.