Introduction to Spring Data JPA from beginner to proficient, preface

Source: Internet
Author: User

Content Introduction

This book is based on spring boot as a technical foundation, from beginner to proficient, and provides an easy-to-digest introduction to the use of spring Data JPA. Have grammar, have practice, have the principle analysis.

This book is divided into 12 chapters, including the overall understanding of JPA, JPA Basic query methods, definition of query methods, annotated query methods, @Entity Examples of common annotations in detail, jparepository extension, JPA MVC extended Rest support, datasource configuration , optimistic lock, spel expression in spring data application, Spring data Redis implementation cacheable practice, IntelliJ idea speed up development efficiency, spring data rest simple introduction.

This book is suitable for beginners in Java development, Java Development Engineer, Java Development Architect, and also suitable for teachers and students in colleges and universities and other relevant professional teaching reference.

Objective

The purpose of this book

With the gradual application of Java technology and micro-service technology, Spring Cloud and spring boot gradually unify the Java framework. The ORM Framework on the market is becoming more and more important. Spring data gradually goes into the Java Developer's field of view and is chosen by many architects as the technology of the ORM framework. There is no full introduction to spring Data JPA on the market. The data is scattered, it is difficult to grasp the spring data JPA in a comprehensive and in depth. This book focuses on the practical basis for improving the productivity of Java developers, and can be used as a good self-learning handbook and a lookup manual for spring Data JPA. "Not only to the fish, but also to the fishing", not only to tell you what is, how to use, but also tell everyone to learn steps, how to learn, as well as the principle, use of skills and practice. With spring boot as the technical Foundation, from beginner to proficient, the introduction and use of Spring Data JPA, it is suitable for beginners in Java to overtake from this corner and embark on the fast lane of spring family barrel learning.

"The future has come, just not yet popular"

Looking at the ORM Framework on the market, Mybitas is well known for its flexibility, but to maintain complex configurations and not spring's official natural family buckets, there are additional configuration tasks that even senior architects have to do with many packages; hibernate is known for HQL and relational mapping. But the use is not particularly flexible. Spring Data JPA comes in and feels like the JPA supremacy of ORM, which is packaged with hibernate at the bottom, provides a super-flexible interface for external use, and is well-suited to object-oriented and restful styles, with more and more API-level encapsulation in spring Data JPA-based, feel is the gospel for architects and developers. Spring Data JPA works with spring boot to have a natural advantage, and you'll find that more and more company careers are being progressively changed from traditional ssh, spring, Mybitas technology requirements to spring boot, spring Cloud, Spring data and other spring family barrel technology requirements.

Trace

Architects before the architecture design system to design a variety of business models, data models, in fact, in many technical frameworks, to master the Spring Boot, Spring MVC, Spring Cloud, micro-service architecture, etc., are inseparable from the underlying database operations layer, If we have a good grasp of the technical essentials of the data layer, from the bottom up to learn, it may be better to grasp some.

Featured in this book

(1) This book is for Java developers and users of spring, and is a must-have book for spring Data JPA development.

(2) This book from the introduction to the use of the principle and practice, can be a good spring Data JPA practical manual.

(3) The code of this book is clear, iterative and complete, so that it is easy to master and learn JPA in a comprehensive and complete way.

(4) This book focuses on the actual combat experience to explain, very practical, one point is broken.

(5) The book prototype PPT by colleagues love, and in the enterprise internal training has been a lot of Java Programmer's affirmation.

Read the Guide

The book uses spring boot as the basis for development and clues, and a large number of UML interpretations are used to explain the way. This book is divided into 3 parts, a total of 12 chapters.

(1) Basic part: The whole understanding of JPA, JPA Basic Query method, definition Query method, annotated query method, @Entity Examples of common annotations in detail, understand the basic use and syntax of Spring Data JPA.

(2) Advanced part: Jparepository detailed, JPA MVC extended Rest support, datasource configuration, optimistic lock, etc., understand the implementation motivation behind it and its principle.

(3) Extension: Spel expression in spring data application, Spring data Redis implementation cacheable practice, IntelliJ idea speed development efficiency, spring data rest introduction, until the entire spring The ecology of data.

In addition, due to some changes in the Spring Boot 2.0 version of Spring Data JPA, the author summarizes the JPA in Spring Boot 2.0 as part of the book's Companion reading. Can be viewed by scanning the following QR code:

Technical support

The example source code for this book (note the numbers and letters are case) is as follows:

Https://github.com/zhangzhenhuajack/spring-data-jpa-guide

If there is a problem with the download, please contact e-mail [email protected] with the subject "Spring Data JPA from getting started to mastering".

Although this book is a spring boot for the configuration case tutorial, but the actual work, we may use XML or even mixed patterns, there may be MyBatis way, so the actual combat will inevitably beyond the scope of this book, welcome Dabigatran to discuss and progress together. QQ group number is as follows:

? QQ Group One: 240619787.

? QQ Group Two: 559701472.

Thanks

First of all, thanks to the editors of Tsinghua University Press for their hard work, the book was published. Secondly, thank the family for my support, especially the wife in my writing process undertook a lot of housework, more hard. Finally, I am particularly grateful to the industry's technical gods who helped me with my book reviews, and also to the technical people who helped them in their daily work and the technology community, and thank you for the technical information.

Author

March 2018

Introduction to Spring Data JPA from beginner to proficient, preface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.