Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Spring for Android Application Development

You're reading from   Learn Spring for Android Application Development Build robust Android applications with Kotlin 1.3 and Spring 5

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789349252
Length 392 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
S. M. Mohi Us Sunnat S. M. Mohi Us Sunnat
Author Profile Icon S. M. Mohi Us Sunnat
S. M. Mohi Us Sunnat
Igor Kucherenko Igor Kucherenko
Author Profile Icon Igor Kucherenko
Igor Kucherenko
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. About the Environment 2. Overview of Kotlin FREE CHAPTER 3. Overview of Spring Framework 4. Spring Modules for Android 5. Securing Applications with Spring Security 6. Accessing the Database 7. Concurrency 8. Reactive Programming 9. Creating an Application 10. Testing an Application 11. Assessments 12. Other Books You May Enjoy

Accessing the Database

In this chapter, we will learn about the database in the Spring Framework. The database is a collection of data that is stored in the server in an organized way, so that an application can retrieve the data in the way that the user requests. In this chapter, you will learn how to use the database on both the client and server side. In addition to this, we will explore the usage of JDBC, JPA, Hibernate, and MySQL from the server side, and we will look at the room persistence library from the client side.

This chapter covers the following topics:

  • What is a database?
  • What is a database management system?
  • Data access in Spring.
  • Data access with JDBC in Spring.
  • Creating a sample project using JDBC.
  • Data access with JPA and Hibernate in Spring.
  • Creating a sample project using JPA + Hibernate.
  • What is the room persistence library?
  • Creating an Android application...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime