Cargando…

Spring data.

In Detail Spring Framework has always had a good support for different data access technologies. However, developers had to use technology-specific APIs, which often led to a situation where a lot of boilerplate code had to be written in order to implement even the simplest operations. Spring Data c...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Kainulainen, Petri
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Pub., 2012.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000Ia 4500
001 OR_ocn824761432
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 130122s2012 enka o 000 0 eng d
040 |a UMI  |b eng  |e pn  |c UMI  |d E7B  |d OCLCO  |d COO  |d KNOVL  |d DEBSZ  |d OCLCF  |d KNOVL  |d OCLCQ  |d FEM  |d AGLDB  |d OCLCQ  |d U3W  |d CEF  |d NLE  |d OCLCQ  |d UAB  |d AU@  |d UWK  |d OCLCQ  |d K6U  |d S2H  |d OCLCO  |d QGK  |d OCLCQ 
019 |a 823727587  |a 968036195  |a 969059602  |a 1259098420  |a 1289515929 
020 |a 9781621989097  |q (electronic bk.) 
020 |a 1621989097  |q (electronic bk.) 
020 |a 1849519048 
020 |a 9781849519045 
020 |a 1849519056 
020 |a 9781849519052 
020 |z 9781849519045 
020 |z 9781849519052 
020 |a 1283836769 
020 |a 9781283836760 
029 1 |a AU@  |b 000050492140 
029 1 |a AU@  |b 000053034362 
029 1 |a CHNEW  |b 000623301 
029 1 |a DEBBG  |b BV041120795 
029 1 |a DEBSZ  |b 396757014 
029 1 |a DKDLA  |b 820120-katalog:000650599 
029 1 |a NZ1  |b 15344361 
035 |a (OCoLC)824761432  |z (OCoLC)823727587  |z (OCoLC)968036195  |z (OCoLC)969059602  |z (OCoLC)1259098420  |z (OCoLC)1289515929 
037 |a CL0500000184  |b Safari Books Online 
050 4 |a QA76.73.J38  |b K35 2012 
082 0 4 |a 005.133  |2 23 
049 |a UAMI 
100 1 |a Kainulainen, Petri. 
245 1 0 |a Spring data. 
260 |a Birmingham, UK :  |b Packt Pub.,  |c 2012. 
300 |a 1 online resource (1 volume) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file  |2 rda 
588 0 |a Online resource; title from PDF title page (Safari, Jan. 22, 2013). 
520 |a In Detail Spring Framework has always had a good support for different data access technologies. However, developers had to use technology-specific APIs, which often led to a situation where a lot of boilerplate code had to be written in order to implement even the simplest operations. Spring Data changed all this. Spring Data makes it easier to implement Spring-powered applications that use cloud-based storage services, NoSQL databases, map-reduce frameworks or relational databases. "Spring Data" is a practical guide that is full of step-by-step instructions and examples which ensure that you can start using the Java Persistence API and Redis in your applications without extra hassle. This book provides a brief introduction to the underlying data storage technologies, gives step-by-step instructions that will help you utilize the discussed technologies in your applications, and provides a solid foundation for expanding your knowledge beyond the concepts described in this book. You will learn an easier way to manage your entities and to create database queries with Spring Data JPA. This book also demonstrates how you can add custom functions to your repositories. You will also learn how to use the Redis key-value store as data storage and to use its other features for enhancing your applications. "Spring Data" includes all the practical instructions and examples that provide you with all the information you need to create JPA repositories with Spring Data JPA and to utilize the performance of Redis in your applications by using Spring Data Redis. Approach This book is a standard tutorial which provides step-by-step instructions and a lot of code examples that are easy to follow and help you to get started from page one. Who this book is for This book is suited for developers who are working with Spring-powered applications, and are looking for an easier way to write data access code that uses relational databases. Also, if you are interested in learning how you can utilize Redis in your applications, this is the book for you. This book assumes that you have got some experience with the Spring Framework and the Java Persistence API. No previous experience with Redis is required. 
505 0 |a Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Getting Started; Java Persistence API; Key concepts; Creating database queries; Native SQL queries; Java Persistence Query Language; The Criteria API; Redis; Supported data types; Persistence; Replication; Publish/subscribe messaging pattern; Summary; Chapter 2:Getting Started with Spring Data JPA; Downloading dependencies with Maven; Configuring the Spring application context; Creating the properties file; Creating the application context configuration class 
505 8 |a Creating the application context configuration skeletonConfiguring the data source bean; Configuring the entity manager factory bean; Configuring the transaction manager bean; Loading the application context configuration; Implementing CRUD functionality for an entity; Domain model; Contact; Address; Creating a custom repository; Creating a custom repository in the old school way; Creating a custom repository with Spring Data JPA; CRUD; Create; Read; Update; Delete; Summary; Chapter 3:Building Queries with Spring Data JPA; Building queries; Query methods; Query generation from method name 
505 8 |a Named queries@Query annotation; JPA Criteria API; Adding the JPA Criteria API support to a repository; Creating the criteria query; Creating the service method; Pros and cons; Querydsl; Configuring Querydsl-Maven integration; Generating Querydsl query types; Adding Querydsl support to a repository; Creating the executed query; Executing the created query; Pros and cons; What technique should we use?; Sorting query results; Sorting with method name; Creating the query method; Modifying the service method; Sorting with query strings; JPQL queries; SQL queries; Sorting with the Sort class 
505 8 |a JpaRepositoryQuery generation from the method name; @Query annotation; JPA Criteria API; Sorting with Querydsl; What technique should we use?; Paginating query results; Changing the service layer; Creating a class for pagination parameters; Changing the service interface; Creating PageRequest objects; Implementing pagination; JpaRepository; Query generation from the method name; Named queries; @Query annotation; JPA Criteria API; Querydsl; Summary; Chapter 4:Adding Custom Functionality to JPA Repositories; Adding custom functionality to a single repository; Creating the custom interface 
505 8 |a Implementing the created interfaceConfiguring the repository class; Implementing the custom methods; Creating the repository interface; Creating the service implementation; What did we just do?; Adding custom functionality to all repositories; Creating the base repository interface; Implementing the base repository interface; Creating the repository factory bean; Creating the skeleton of the repository factory bean class; Creating the repository factory inner class; Creating the builder method for the repository factory; Configuring Spring Data JPA; Creating the repository interface 
546 |a English. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Java (Computer program language) 
650 0 |a Application software  |x Development. 
650 6 |a Java (Langage de programmation) 
650 6 |a Logiciels d'application  |x Développement. 
650 7 |a COMPUTERS  |x Information Technology.  |2 bisacsh 
650 7 |a COMPUTERS  |x Databases  |x General.  |2 bisacsh 
650 7 |a Application software  |x Development.  |2 fast  |0 (OCoLC)fst00811707 
650 7 |a Java (Computer program language)  |2 fast  |0 (OCoLC)fst00982065 
776 |z 1-84951-904-8 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781849519045/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
938 |a ebrary  |b EBRY  |n ebr10627290 
994 |a 92  |b IZTAP