diff --git a/src/docbkx/index.xml b/src/docbkx/index.xml index 66bf90cd1..f2eb0ba79 100644 --- a/src/docbkx/index.xml +++ b/src/docbkx/index.xml @@ -88,8 +88,8 @@ Reference - This is the reference part of the book. It has information about the programming model, APIs, - concepts, and annotations of Spring Data Graph. + This is the reference part of the book. It has information about the + programming model, APIs, concepts, and annotations of Spring Data Graph. diff --git a/src/docbkx/reference/preface.xml b/src/docbkx/reference/preface.xml index 48ff8b9c3..67c09055a 100644 --- a/src/docbkx/reference/preface.xml +++ b/src/docbkx/reference/preface.xml @@ -2,19 +2,17 @@ - Preface - - The Spring Data Graph project applies core Spring concepts to the development of solutions using a graph style data store. - The basic approach is to mark simple POJO entities with Spring Data Graph annotations. That enables the AspectJ aspects that are contained - with the framework to adapt the instantiation and field access to have them stored and retrieved from the graph store. - Entities are mapped to nodes of the graph, references to other entities are represented by relationships. There are also - special relationship entities that provide access to the properties of graph relationships. - - - For the developer of a Spring Data Graph backed application only the public annotations - () and the additional, - added entity methods () are relevant. - Basic knowledge of graph stores is needed to access advanced functionality like traversals. - Traversal results can also be mapped to fields of entities. - + Preface + + The Spring Data Graph project, as part of the Spring Data initiative, aims to simplify development + with graph databases. Like JPA, it uses annotations on simple POJO beans. The annotations activate + the AspectJ aspects in the Spring Data Graph framework, mapping the POJO entities and their fields + to nodes, relationships, and properties in the graph database. + + + To get started with a simple application, only the basic annotations + (see ) and the additional aspect-introduced + entity methods (see ) are required. + Basic knowledge of graph stores is needed to access advanced functionality like traversals. + diff --git a/src/docbkx/reference/programming-model/node-entities.xml b/src/docbkx/reference/programming-model/node-entities.xml index 538254fd3..d6b5075a3 100644 --- a/src/docbkx/reference/programming-model/node-entities.xml +++ b/src/docbkx/reference/programming-model/node-entities.xml @@ -1,6 +1,6 @@ -
+
Annotations define POJO node entities Entities are declared using the @NodeEntity annotation. Relationship entities use the @RelationshipEntity annotation. diff --git a/src/docbkx/reference/spring-data.xml b/src/docbkx/reference/spring-data.xml index 4cd65eb24..d4a0c1fb5 100644 --- a/src/docbkx/reference/spring-data.xml +++ b/src/docbkx/reference/spring-data.xml @@ -1,11 +1,11 @@ - - Spring Data + + About Spring Data Spring Data is a SpringSource project that aims to provide Spring's convenient programming model and well known conventions for NOSQL databases. Currently there - is support for Graph (e.g. Neo4j), Key-Value (e.g. Redis), Document (e.g. MongoDB) and Relational (e.g. Oracle) + is support for graph (e.g. Neo4j), key-value (e.g. Redis), document (e.g. MongoDB) and relational (e.g. Oracle) databases. Mark Pollack, the author of Spring.NET is the project lead for the Spring Data project.