To help you get the most from the text and keep track of what's happening, we've used a number of conventions throughout the book.
Important | Boxes like this one hold important, not-to-be forgotten information that is directly relevant to the surrounding text. |
Note | Tips, hints, tricks, and asides to the current discussion are offset and placed in italics like this. |
As for styles in the text:
We highlight important words when we introduce them.
We show keyboard strokes like this: Ctrl+A.
We show file names , URLs, and code within the text like so: persistence.properties .
We present code in two different ways.
The Code Foreground style shows new, important, pertinent code. We indent the 2nd line to show you should enter both lines as one line. The Code Background style shows code that's less important in the present context, or has been shown before.
Note | Occasionally, code that needs to be placed all on one line is split over two because of the layout of the book, as shown in the preceding highlighted code. However, make sure you type it all on one line. |