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 users are stored in a properties file called mgmt-users.properties under standalone/configuration or domain/configuration depending on the running mode of the server."

A block of code is set as follows:

@WebServlet("/test")
public class TestServlet extends HttpServlet {       
  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    out.println("Hello World JBoss AS 7");
    out.close();
  }
  protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {     
  }

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

@SessionScoped
@Named
public class TheatreBookerBean implements Serializable {
}

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

mvn install jboss-as:deploy –Dhostname=localhost –Dport=9999

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: "Click on Finish to continue."

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
18.189.171.125