ABOUT THIS BOOK
xviii
advanced features that can be useful in day-to-day development and maintenance of
Neo4j databases are also covered.
Chapter 7 focuses on one of the unique selling points of Neo4j in the No
SQL
space—the fact that it fully supports
ACID
-based transactions, providing examples of
different uses as well as taking a more in-depth look at certain aspects.
While chapter 4 provides your initial foray into the world of traversals, writing effi-
cient traversals is the key to successfully querying graph data. In chapter 8 we dig
deeper into the inner workings of the Traversal
API
so you can learn how to solve the
most complex graph problems in an efficient manner with the native
API
.
Chapter 9 looks at Spring Data Neo4j library (
SDN
), the object graph-mapping
library. Though not an official Neo4j offering, this chapter focuses on demonstrating
how the Neo4j-specific open source framework can be used as a library to provide a
robust and seamless mapping experience between a rich object graph model and data
backed by Neo4j. Once again our trusty social network of users and their favorite mov-
ies is used to demonstrate these points.
Chapter 10 explores the two main usage modes in Neo4j, namely embedded and
server. Much of the book has focused on demonstrating core concepts using the
embedded mode. This chapter additionally introduces the server mode, which can be
used by just about any client, and explores each mode in a bit more depth, weighing
the pros and cons of each, including how to get the most out of your server if you
choose to use this option.
Chapter 11 finishes off with an overview of the high-level Neo4j architecture.
Framed with this knowledge, the chapter explores what should be considered when
you want to take Neo4j to production, including scaling and other requirements for
making Neo4j highly available, finishing off with instructions for how to back up and
restore your database should it be required.
The four appendixes guide you through installing, setting up, and running Neo4j,
Maven, and
SDN
, and offer guidance for seeking more help.
Code conventions and downloads
All source code in the book is in a
fixed-width
font
like
this
, which sets it off from
the surrounding text. In many listings, the code is annotated to point out the key con-
cepts, and numbered bullets are sometimes used in the text to provide additional
information about the code.
Most of the code shown in the book can be found in various forms in the sample
source code that accompanies it. The sample code can be downloaded free of charge
from the Manning website at www.manning.com/Neo4jinAction, as well as at https://
github.com/opencredo/neo4j-in-action.
The sample code is structured as a set of
JU
nit style tests that aim to highlight
and/or demonstrate the particular code under discussion. Instructions for how you
can run the sample code are provided in appendix B.
Licensed to zhailiang UNKNOWN <zhailiang@ideatech.info>