diff --git a/pom.xml b/pom.xml
index ffcb0339f..1bb6e3e97 100644
--- a/pom.xml
+++ b/pom.xml
@@ -172,7 +172,7 @@
javax.media
- jai-core
+ jai_core
1.1.3
runtime
diff --git a/src/docbkx/index.xml b/src/docbkx/index.xml
index 692811e82..fd405e649 100644
--- a/src/docbkx/index.xml
+++ b/src/docbkx/index.xml
@@ -1,9 +1,9 @@
-
+
+
- Spring Data Graph - Reference Documentation
+ The Spring Data Graph Guidebook
&version;
@@ -37,28 +37,70 @@
-
- Introduction
+
+ Foreword: Rod Johnson, CEO of SpringSource
+
+ Rod ...
+
+
-
-
-
-
-
+
+ Foreword: Emil Eifrem, CEO of Neo Technology
+
+ Emil ...
+
+
+
+
+ About this book
+
+ Duplex book -> Fowler bliki
+
+ 1. Narrative / Tutorial
+ 2. Reference docs
+
+
+
+
+ Tutorial
+
+
+ Tutorial intro ...
+
+
+
+
+
+
+
+
+
+
+
+
+
Reference
- This part of the reference documentation details the API, concepts, annotations, datastore, programming model and
- the cross-store approach 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/annotations.xml b/src/docbkx/reference/annotations.xml
new file mode 100644
index 000000000..4ecb461be
--- /dev/null
+++ b/src/docbkx/reference/annotations.xml
@@ -0,0 +1,50 @@
+
+
+
+ Annotation-driven persistence
+
+ ...
+
+
+ Annotations
+
+ ... this is the most important part
+
+
+
+ Introduced methods
+
+ ...
+
+
+
+
+ GraphDatabaseContext
+
+ ...
+
+
+
+
+
+ EntityMapper and Path
+
+ ...
+
+
+
diff --git a/src/docbkx/reference/aspectj-intro.xml b/src/docbkx/reference/aspectj-intro.xml
new file mode 100644
index 000000000..475d54519
--- /dev/null
+++ b/src/docbkx/reference/aspectj-intro.xml
@@ -0,0 +1,8 @@
+
+
+
+ AspectJ introduction
+
+ ...
+
+
diff --git a/src/docbkx/cross-store.xml b/src/docbkx/reference/cross-store.xml
similarity index 100%
rename from src/docbkx/cross-store.xml
rename to src/docbkx/reference/cross-store.xml
diff --git a/src/docbkx/reference/neo4j-intro.xml b/src/docbkx/reference/neo4j-intro.xml
new file mode 100644
index 000000000..a0251f00b
--- /dev/null
+++ b/src/docbkx/reference/neo4j-intro.xml
@@ -0,0 +1,8 @@
+
+
+
+ Neo4j introduction
+
+ ...
+
+
diff --git a/src/docbkx/reference/neo4j-server.xml b/src/docbkx/reference/neo4j-server.xml
new file mode 100644
index 000000000..85902bef3
--- /dev/null
+++ b/src/docbkx/reference/neo4j-server.xml
@@ -0,0 +1,8 @@
+
+
+
+ Neo4j Server
+
+ ...
+
+
diff --git a/src/docbkx/neo4j.xml b/src/docbkx/reference/neo4j.xml
similarity index 100%
rename from src/docbkx/neo4j.xml
rename to src/docbkx/reference/neo4j.xml
diff --git a/src/docbkx/reference/performance.xml b/src/docbkx/reference/performance.xml
new file mode 100644
index 000000000..9c592fc9c
--- /dev/null
+++ b/src/docbkx/reference/performance.xml
@@ -0,0 +1,14 @@
+
+
+
+ Performance considerations
+
+ ...
+
+
+ When to use SDG?
+
+ ...
+
+
+
diff --git a/src/docbkx/preface.xml b/src/docbkx/reference/preface.xml
similarity index 100%
rename from src/docbkx/preface.xml
rename to src/docbkx/reference/preface.xml
diff --git a/src/docbkx/programming-model.xml b/src/docbkx/reference/programming-model.xml
similarity index 100%
rename from src/docbkx/programming-model.xml
rename to src/docbkx/reference/programming-model.xml
diff --git a/src/docbkx/samples.xml b/src/docbkx/reference/samples.xml
similarity index 100%
rename from src/docbkx/samples.xml
rename to src/docbkx/reference/samples.xml
diff --git a/src/docbkx/setup.xml b/src/docbkx/reference/setup.xml
similarity index 100%
rename from src/docbkx/setup.xml
rename to src/docbkx/reference/setup.xml
diff --git a/src/docbkx/reference/spring-data.xml b/src/docbkx/reference/spring-data.xml
new file mode 100644
index 000000000..d19535910
--- /dev/null
+++ b/src/docbkx/reference/spring-data.xml
@@ -0,0 +1,8 @@
+
+
+
+ Spring Data
+
+ ...
+
+
diff --git a/src/docbkx/reference/template.xml b/src/docbkx/reference/template.xml
new file mode 100644
index 000000000..566b09507
--- /dev/null
+++ b/src/docbkx/reference/template.xml
@@ -0,0 +1,38 @@
+
+
+
+ Neo4jTemplate
+
+ ...
+
+
+ Transaction handling/management
+
+ ...
+
+
+
+ Basic operations
+
+ ...
+
+
+
+
+
+ PathMapper
+
+ ... path as general return type?
+
+
+
diff --git a/src/docbkx/tutorial/about-spring-data.xml b/src/docbkx/tutorial/about-spring-data.xml
new file mode 100644
index 000000000..c98d83546
--- /dev/null
+++ b/src/docbkx/tutorial/about-spring-data.xml
@@ -0,0 +1,10 @@
+
+
+
+ About Spring Data
+
+ * What is spring data?
+ * What is spring data graph?
+ * Why should I use it?
+
+
diff --git a/src/docbkx/tutorial/about-tutorial.xml b/src/docbkx/tutorial/about-tutorial.xml
new file mode 100644
index 000000000..36e4fdfc1
--- /dev/null
+++ b/src/docbkx/tutorial/about-tutorial.xml
@@ -0,0 +1,8 @@
+
+
+
+ About this tutorial
+
+ * What is Cineasts.net
+
+
diff --git a/src/docbkx/tutorial/annotations.xml b/src/docbkx/tutorial/annotations.xml
new file mode 100644
index 000000000..61ad058fb
--- /dev/null
+++ b/src/docbkx/tutorial/annotations.xml
@@ -0,0 +1,27 @@
+
+
+
+ Annotating the domain model
+
+ ...
+
+
+ Persistent entities
+
+ ...
+
+
+
+
+ Relationships
+
+ ...
+
+
+
+
diff --git a/src/docbkx/tutorial/data-access.xml b/src/docbkx/tutorial/data-access.xml
new file mode 100644
index 000000000..b30b9e1df
--- /dev/null
+++ b/src/docbkx/tutorial/data-access.xml
@@ -0,0 +1,26 @@
+
+
+
+ Accessing data
+
+ ...
+
+
+ Importing data
+
+ ...
+
+
+
+
+ Controllers
+
+ ...
+
+
+
diff --git a/src/docbkx/tutorial/domain.xml b/src/docbkx/tutorial/domain.xml
new file mode 100644
index 000000000..e9b9699a3
--- /dev/null
+++ b/src/docbkx/tutorial/domain.xml
@@ -0,0 +1,38 @@
+
+
+
+ The domain
+
+ ...
+
+
+
+
+
+
+
diff --git a/src/docbkx/tutorial/recommendations.xml b/src/docbkx/tutorial/recommendations.xml
new file mode 100644
index 000000000..dd72cf4f4
--- /dev/null
+++ b/src/docbkx/tutorial/recommendations.xml
@@ -0,0 +1,8 @@
+
+
+
+ Adding recommendations
+
+
+
+
diff --git a/src/docbkx/tutorial/security.xml b/src/docbkx/tutorial/security.xml
new file mode 100644
index 000000000..cef8f2da7
--- /dev/null
+++ b/src/docbkx/tutorial/security.xml
@@ -0,0 +1,8 @@
+
+
+
+ Adding security
+
+
+
+
diff --git a/src/docbkx/tutorial/setup.xml b/src/docbkx/tutorial/setup.xml
new file mode 100644
index 000000000..f0fd0b077
--- /dev/null
+++ b/src/docbkx/tutorial/setup.xml
@@ -0,0 +1,44 @@
+
+
+
+ Project setup
+
+ ...
+
+
+ Spring Data Graph
+
+ ...
+
+
+ Maven configuration
+
+ ...
+
+
+
+ Spring configuration
+
+ ...
+
+
+
+
+ Spring MVC
+
+ ...
+
+
+ Maven configuration
+
+ ...
+
+
+
+ Spring configuration
+
+ ...
+
+
+
+
diff --git a/src/docbkx/tutorial/social.xml b/src/docbkx/tutorial/social.xml
new file mode 100644
index 000000000..2ce723e61
--- /dev/null
+++ b/src/docbkx/tutorial/social.xml
@@ -0,0 +1,8 @@
+
+
+
+ Adding social
+
+ ...
+
+