java-tutorials/spring-data-couchbase-2
Kevin Gilmore 25f4546881 Spring Data Couchbase Article 2 2016-04-08 06:37:06 -05:00
..
src Spring Data Couchbase Article 2 2016-04-08 06:37:06 -05:00
.classpath Spring Data Couchbase Article 2 2016-04-08 06:37:06 -05:00
.project Spring Data Couchbase tutorial 2016-03-11 20:41:23 -06:00
.springBeans Spring Data Couchbase tutorial 2016-03-11 20:41:23 -06:00
README.md README file for Spring Data Couchbase project 2016-03-13 23:23:33 -05:00
pom.xml Spring Data Couchbase tutorial 2016-03-11 20:41:23 -06:00

README.md

Spring Data Couchbase Tutorial Project

Relevant Articles:

Overview

This Maven project contains the Java code for Spring Data Couchbase entities, repositories, and template-based services as described in the tutorial, as well as a unit test for each service implementation.

Working with the Code

The project was developed and tested using Java 7 nad 8 in the Eclipse-based Spring Source Toolkit (STS) and therefore should run fine in any recent version of Eclipse or another IDE of your choice that supports Java 7 or later.

Building the Project

You can also build the project using Maven outside of any IDE:

mvn clean install

Running the tests

There are three test classes in src/test/java in the package org.baeldung.spring.data.couchbase.service:

  • PersonServiceTest (abstract)
  • PersonRepositoryTest (concrete)
  • PersonTemplateServiceTest (concrete)

The latter two may be run as JUnit tests from your IDE or using the Maven command line:

mvn test