Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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 FREE CHAPTER 2. Overview of Kotlin 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

Java database connectivity in Spring

Java Database Connectivity (JDBC) is an API specification for connecting and moving data from the frontend to the backend. The classes and interfaces are written in Java. Nowadays, it also supports Kotlin. We will write in Kotlin throughout this chapter. This basically acts as an interface or bridge between the Java-based application and database. JDBC is very similar to the Open Database Connectivity (ODBC). Like ODBC, JDBC enables a JDBC application to access a collection of data.

In the Spring Framework, the JDBC is divided into the following four separate packages:

  • Core: This is the JDBC's core functionality and JdbcTemplate, SimpleJdbcInsert, and SimpleJdbcCall are the important classes of this core part
  • DataSource: This is used to access data sources
  • Object: The JDBC can access in an object-oriented manner. As a business object...
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
Banner background image