Yes there are examples. Chapter 3 of the book shows some examples and the source code contains a fully runnable example of this. The source code is available for download on the book's main page: https://manning.com/seemann2/