Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Perhaps it is best to look into the supplied examples of Spring Data Neo4j <a href="http://spring.neo4j.org/examples" rel="nofollow">http://spring.neo4j.org/examples</a> there are some for simple projects like hello-world and some for more advanced web-applications cineasts.</p> <p>To get the idea the <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/" rel="nofollow">Spring Documentation</a> about the general setup of a Spring(Web) application should help you.</p> <p>You should probably start with a console application to get the ideas and then incorporate that in your web-application.</p> <p>The applicationContext.xml file is the SpringFramework configuration file. It should be enough to have a minimal one, like this from the hello-world example.</p> <p>Put it in src/main/resources/applicationContext.xml</p> <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:neo4j="http://www.springframework.org/schema/data/neo4j" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/data/neo4j http://www.springframework.org/schema/data/neo4j/spring-neo4j-2.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"&gt; &lt;context:spring-configured/&gt; &lt;context:annotation-config/&gt; &lt;neo4j:config storeDirectory="path/to/db"/&gt; &lt;neo4j:repositories base-package="org.example.repository"/&gt; &lt;/beans&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload