spring-data-template

Spring Data Template Framework

Spring Data FrameworkThe extension or use of template scaffolding, which is a secondary development tool. According to this template, you can easily extract the files in the template and develop your own Spring Dataframework.This case is intended for learning and communication and cannot be used for actual production.

中文版, Swith English version

Use spring-data-template

Briefly describe how to apply Spring data templates to develop your own Spring Dataframework.

Create project

First, you need to create a meaningful project name, which is SpringDatathe name of the current frame. For example, to create a cached SpringDataframe, just name it spring-data-cache. If you want to create a redis’s SpringData, it is named spring-data-redis.

Create Packages

Creating suitable packagethe top pkg, for example, with a spring-data-cacheframe, for example, it packageshould be org.springframework.data.cache, and end is the name of the frame.

PackageAnd implementation class introduction

In general, the top packageHere are the main core of the package to achieve spring-data, which usually are:

summary

SpringDataAnd can SpringBoot、SpringCloud、SpringFrameworkseamlessly integrate, develop their own SpringDataframework for ease of use and expand the system. This framework is just a template to help you understand and learn the underlying interface knowledge of SpringData.