Thursday, March 8, 2012

Spring MVC 3.1 - Implement CRUD with Spring Data Neo4j (Part 3)

Review

In the previous section, we have implemented the Java classes and discussed the Neo4j service. In this section, we will write the configuration files for enabling Spring MVC and Neo4j support.


Configuration

To enable Neo4j support, we need to declare the following beans
  • a Spring Data Neo4j repository
  • a Neo4j store directory
  • Optionally, we declared an InitNeo4jService to automatically populate our database with sample data (currently disabled)


Finally, here's our applicationContext.xml file

Next

In the next section, we will create the HTML and JavaScript files. Click here to proceed.
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google I'm reading: Spring MVC 3.1 - Implement CRUD with Spring Data Neo4j (Part 3) ~ Twitter FaceBook

Subscribe by reader Subscribe by email Share

6 comments:

  1. this post was very helpful to start with

    ReplyDelete
  2. U r a great social contributor.... Thank u for the philanthrophy

    ReplyDelete
  3. I really like reading news here. That's great pixel gun 3d

    ReplyDelete
  4. Thank you for posting informative insights, I think we have got some more information to share with! Do check out Java Training in Chennai and let us know your thoughts. Let’s have great learning!

    ReplyDelete