Giter Site home page Giter Site logo

lupengfeige / spring-data-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spring-projects/spring-data-examples

0.0 2.0 0.0 9.94 MB

Spring Data Example Projects

License: Apache License 2.0

Java 98.06% PLSQL 0.02% HTML 1.86% CSS 0.06%

spring-data-examples's Introduction

Spring Data Examples

Build Status

This repository contains example projects for the different Spring Data modules to showcase the API and how to use the features provided by the modules.

We have separate folders for the samples of individual modules:

Spring Data JPA

  • example - Probably the project you want to have a look at first. Contains a variety of sample packages, showcasing the different levels at which you can use Spring Data JPA. Have a look at the simple package for the most basic setup.
  • java8 - Example of how to use Spring Data JPA auditing with Java 8 date time types as well as the usage of Optional as return type for repository methods. Note, this project requires to be build with JDK 8.
  • showcase - Refactoring show case of how to improve a plain-JPA-based persistence layer by using Spring Data JPA (read: removing close to all of the implementation code). Follow the demo.txt file for detailed instructions.
  • interceptors - Example of how to enrich the repositories with AOP.
  • security - Example of how to integrate Spring Data JPA Repositories with Spring Security.
  • multiple-datasources - Examples of how to use Spring Data JPA with multiple DataSources.
  • query-by-example - Example project showing usage of Query by Example with MongoDB.

Spring Data MongoDB

  • example - Example project for general repository functionality (including geo-spatial functionality), Querydsl integration and advanced topics.
  • java8 - Example of how to use Spring Data MongoDB with Java 8 date time types as well as the usage of Optional as return type for repository methods. Note, this project requires to be build with JDK 8.
  • aggregation - Example project to showcase the MongoDB aggregation framework support.
  • text-search - Example project showing usage of MongoDB text search feature.
  • geo-json - Example project showing usage of GeoJSON with MongoDB.
  • security - Example project showing usage of Spring Security with MongoDB.
  • query-by-example - Example project showing usage of Query by Example with MongoDB.

Spring Data REST

  • starbucks - A sample REST web-service built with Spring Data REST and MongoDB.
  • multi-store - A sample REST web-service based on both Spring Data JPA and Spring Data MongoDB.
  • projections - A sample REST web-service showing how to use projections.
  • security - A sample REST web-service secured using Spring Security.
  • headers - A sample showing the population of HTTP headers and the usage of them to perform conditional GET requests.

Spring Data Redis

  • example - Example for basic Spring Data Redis setup.
  • cluster - Example for Redis Cluster support.
  • sentinel - Example for Redis Sentinel support.
  • repository - Example demonstrating Spring Data repository abstraction on top of Redis.

Spring Data Elasticsearch

  • example - Example how to use basic text search, geo-spatial search and facets.

Spring Data Neo4j

  • example - Example to show basic node and relationship entities and repository usage.

Spring Data web support

  • web - Example for Spring Data web integration (binding Pageable instances to Spring MVC controller methods, using interfaces to bind Spring MVCrequest payloads).
  • querydsl - Example for Spring Data Querydsl web integration (creating a Predicate from web requests).
  • projections - Example for Spring Data web support for JSONPath and XPath expressions on projection interfaces.

Miscellaneous

  • bom - Example project how to use the Spring Data release train bom in non-Spring-Boot scenarios.
  • multi-store - Example project to use both Spring Data MongoDB and Spring Data JPA in one project.

spring-data-examples's People

Contributors

odrotbohm avatar mp911de avatar christophstrobl avatar gregturn avatar cbeams avatar thomasdarimont avatar wilkinsona avatar akonczak avatar bclozel avatar eddumelendez avatar jukecraft avatar jrrickard avatar luanne avatar derlucas avatar kumlien avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.