Kategorien
E-Books
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Computer im Büro
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Multimedia-Training
- Immobilien
- Überzeugung und NLP
- Steuern
- Sozialpolitik
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Berichte, Analysen
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
E-Presse
- Architektura i wnętrza
- Biznes i Ekonomia
- Haus und Garten
- E-Business
- Finanzen
- Persönliche Finanzen
- Unternehmen
- Fotografie
- Informatik
- HR und Gehaltsabrechnung
- Computer, Excel
- Buchhaltung
- Kultur und Literatur
- Wissenschaftlich und akademisch
- Umweltschutz
- meinungsbildend
- Bildung
- Steuern
- Reisen
- Psychologie
- Religion
- Landwirtschaft
- Buch- und Pressemarkt
- Transport und Spedition
- Gesundheit und Schönheit
-
Geschichte
-
Informatik
- Office-Programme
- Datenbank
- Bioinformatik
- IT Branche
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronik
- Digitale Fotografie
- Computergrafik
- Spiele
- Hacking
- Hardware
- IT w ekonomii
- Wissenschaftliche Pakete
- Schulbücher
- Computergrundlagen
- Programmierung
- Mobile-Programmierung
- Internet-Server
- Computernetzwerke
- Start-up
- Betriebssysteme
- Künstliche Inteligenz
- Technik für Kinder
- Webmaster
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Gedicht
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Schulbücher
-
Populärwissenschaft und akademisch
- Archäologie
- Bibliotekoznawstwo
- Filmwissenschaft
- Philologie
- Polnische Philologie
- Philosophie
- Finanse i bankowość
- Erdkunde
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Linguistik
- Literaturwissenschaft
- Logistik
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Theatrologie
- Teologie
- Theorien und Wirtschaftswissenschaften
- Transport i spedycja
- Sportunterricht
- Zarządzanie i marketing
-
Handbȕcher
-
Spielanleitungen
-
Professioneller und fachkundige Leitfaden
-
Jura
- Sicherheit und Gesundheit am Arbeitsplatz
- Geschichte
- Verkehrsregeln. Führerschein
- Rechtswissenschaften
- Gesundheitswesen
- Allgemeines. Wissenskompendium
- akademische Bücher
- Andere
- Bau- und Wohnungsrecht
- Zivilrecht
- Finanzrecht
- Wirtschaftsrecht
- Wirtschafts- und Handelsrecht
- Strafrecht
- Strafrecht. Kriminelle Taten. Kriminologie
- Internationales Recht
- Internationales und ausländisches Recht
- Gesundheitsschutzgesetz
- Bildungsrecht
- Steuerrecht
- Arbeits- und Sozialversicherungsrecht
- Öffentliches, Verfassungs- und Verwaltungsrecht
- Familien- und Vormundschaftsrecht
- Agrarrecht
- Sozialrecht, Arbeitsrecht
- EU-Recht
- Industrie
- Agrar- und Umweltschutz
- Wörterbücher und Enzyklopädien
- Öffentliche Auftragsvergabe
- Management
-
Führer und Reisen
- Afrika
- Alben
- Südamerika
- Mittel- und Nordamerika
- Australien, Neuseeland, Ozeanien
- Österreich
- Asien
- Balkan
- Naher Osten
- Bulgarien
- China
- Kroatien
- Tschechische Republik
- Dänemark
- Ägypten
- Estland
- Europa
- Frankreich
- Berge
- Griechenland
- Spanien
- Niederlande
- Island
- Litauen
- Lettland
- Mapy, Plany miast, Atlasy
- Miniführer
- Deutschland
- Norwegen
- Aktive Reisen
- Polen
- Portugal
- Andere
- Russland
- Rumänien
- Slowakei
- Slowenien
- Schweiz
- Schweden
- Welt
- Türkei
- Ukraine
- Ungarn
- Großbritannien
- Italien
-
Psychologie
- Lebensphilosophien
- Kompetencje psychospołeczne
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Hörbücher
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Immobilien
- Überzeugung und NLP
- Steuern
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
Geschichte
-
Informatik
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Populärwissenschaft und akademisch
- Archäologie
- Philosophie
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Literaturwissenschaft
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Teologie
- Zarządzanie i marketing
-
Handbȕcher
-
Professioneller und fachkundige Leitfaden
-
Jura
-
Führer und Reisen
-
Psychologie
- Lebensphilosophien
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Videokurse
-
Datenbank
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersicherheit
-
Data Science
-
DevOps
-
Für Kinder
-
Elektronik
-
Grafik / Video / CAX
-
Spiele
-
Microsoft Office
-
Entwicklungstools
-
Programmierung
-
Persönliche Entwicklung
-
Computernetzwerke
-
Betriebssysteme
-
Softwaretest
-
Mobile Geräte
-
UX/UI
-
Web development
-
Management
Podcasts
Details zum E-Book
Einloggen, wenn Sie am Inhalt des Artikels interessiert sind.
Spring Data. Want to make it easier to implement data access with your Spring-powered applications? Then this is the book you need. A complete tutorial to Spring Data, it makes learning easier with lots of code examples and clear instructions
E-book
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.
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.
- Spring Data
- Table of Contents
- Spring Data
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 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
- Java Persistence API
- 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
- Creating the application context configuration skeleton
- Configuring 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
- Creating new contact objects
- Updating contact information
- Address
- Creating new addresses
- Updating address information
- Contact
- 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
- Domain model
- Summary
- 3. Building Queries with Spring Data JPA
- Building queries
- Query methods
- Query generation from method name
- Method prefixes
- Property expressions
- Keywords
- Implementing the search function
- Pros and cons
- Named queries
- Creating a named query
- Creating the query method
- Creating the service method
- Pros and cons
- @Query annotation
- Creating the query method
- Creating the service method
- Pros and cons
- Query generation from method name
- JPA Criteria API
- Adding the JPA Criteria API support to a repository
- Creating the criteria query
- Creating a static metamodel class
- Creating specifications
- Creating the service method
- Pros and cons
- Querydsl
- Configuring Querydsl-Maven integration
- Configuring Querydsl Maven dependencies
- Configuring the code generation Maven plugin
- Generating Querydsl query types
- Adding Querydsl support to a repository
- Creating the executed query
- Executing the created query
- Pros and cons
- Configuring Querydsl-Maven integration
- What technique should we use?
- Query methods
- 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
- JpaRepository
- Query generation from the method name
- @Query annotation
- JPA Criteria API
- Sorting with Querydsl
- What technique should we use?
- Sorting with method name
- 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
- Adding pagination support to the query method
- Modifying the service class
- Named queries
- Adding pagination support to the query method
- Modifying the service class
- @Query annotation
- Adding pagination support to a query method
- Modifying the service method
- JPA Criteria API
- Querydsl
- Changing the service layer
- Summary
- Building queries
- 4. Adding Custom Functionality to JPA Repositories
- Adding custom functionality to a single repository
- Creating the custom interface
- Implementing the created interface
- Configuring 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
- Implementing the service layer
- What did we just do?
- Summary
- Adding custom functionality to a single repository
- 5. Getting Started with Spring Data Redis
- Installing Redis
- Getting the required dependencies
- Configuring the Spring application context
- Configuring the Redis connection
- Configuring the Jedis connector
- Configuring the JRedis connector
- Configuring the RJC connector
- Configuring the SRP connector
- Summary
- 6. Building Applications with Spring Data Redis
- Designing a Redis data model
- Key components
- Atomic counters
- RedisTemplate
- Operations
- Serializers
- Implementing a CRUD application
- Using default serializers
- Configuring the application context
- Configuring the Redis template bean
- Configuring the Redis atomic long bean
- CRUD
- Create
- Read
- Update
- Delete
- Configuring the application context
- Storing data in JSON
- Configuring the application context
- Configuring the value serializer bean
- Configuring the Redis template bean
- Configuring the Redis atomic long bean
- CRUD
- Create
- Read
- Update
- Delete
- Configuring the application context
- Using default serializers
- The publish/subscribe messaging pattern
- Creating message listeners
- Implementing the MessageListener interface
- Creating a POJO message listener
- Configuring the application context
- Configuring the message listener beans
- Configuring the message listener adapter bean
- Configuring the message listener container bean
- Sending messages with RedisTemplate
- Create
- Update
- Delete
- Verifying the wanted behaviour
- Creating message listeners
- Using Spring cache abstraction with Spring Data Redis
- Configuring the Spring cache abstraction
- Enabling caching annotations
- Configuring the host and port of the used Redis instance
- Configuring the Redis connection factory bean
- Configuring the Redis template bean
- Configuring the cache manager bean
- Identifying the cached methods
- Adding contact information to the cache
- Updating the contact information to the cache
- Deleting contact information from the cache
- Verifying that the Spring cache abstraction is working
- Configuring the Spring cache abstraction
- Summary
- Index
- Titel: Spring Data. Want to make it easier to implement data access with your Spring-powered applications? Then this is the book you need. A complete tutorial to Spring Data, it makes learning easier with lots of code examples and clear instructions
- Autor: Petri Kainulainen
- Originaler Titel: Spring Data. Want to make it easier to implement data access with your Spring-powered applications? Then this is the book you need. A complete tutorial to Spring Data, it makes learning easier with lots of code examples and clear instructions.
- ISBN: 9781849519052, 9781849519052
- Veröffentlichungsdatum: 2012-11-05
- Format: E-book
- Artikelkennung: e_3cxr
- Verleger: Packt Publishing