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: "The id field is annotated with both @Id and @GeneratedValue".

A block of code is set as follows:

public App(String name, String image, String description) {
   this.name = name;
   this.image = image;
   this.description = description;
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

@Column(length=1000)
@Field
private String description;

Any command-line input or output is written as follows:

mvn archetype:generate -DgroupId=com.packpub.hibernatesearch.chapter1 -DartifactId=chapter1 -DarchetypeArtifactId=maven-archetype-webapp 

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset