Coder Social home page Coder Social logo

zhaoshiling1017 / springboot_stringredistemplate_jestclient_jpa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tianshengbingfeiniuren/springboot_stringredistemplate_jestclient_jpa

0.0 3.0 0.0 63 KB

Spring Boot 整合 StringRedisTemplate + JestClient + JPA

Java 100.00%

springboot_stringredistemplate_jestclient_jpa's Introduction

SpringBoot_StringRedisTemplate_JestClient_JPA

Spring Boot 整合 StringRedisTemplate + JestClient + JPA

一、Spring Boot 整合 Redis (StringRedisTemplate)

1.maven依赖

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-redis</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-redis</artifactId>
            <version>2.1.5.RELEASE</version>
        </dependency>

跳转: RedisConfig.java

二、Spring Boot 整合 ElasticSearch5.6.9 (JestClient)

1.maven

        <dependency>
            <groupId>org.elasticsearch</groupId>
            <artifactId>elasticsearch</artifactId>
            <version>5.6.9</version>
        </dependency>
        <dependency>
            <groupId>io.searchbox</groupId>
            <artifactId>jest</artifactId>
            <version>5.3.4</version>
        </dependency>

跳转: EsService.java

三、Spring Boot 整合 MySQL(SpringDataJPA)

1.maven依赖

        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>8.0.15</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>

跳转: StockInformationRepository.java

CSDN: link.

springboot_stringredistemplate_jestclient_jpa's People

Contributors

tianshengbingfeiniuren avatar

Watchers

James Cloos avatar lenzhao 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.