
Learn Spring for Android Application Development
Build robust Android applications with Kotlin 1.3 and Spring 5
- 392 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Learn Spring for Android Application Development
Build robust Android applications with Kotlin 1.3 and Spring 5
About this book
A hands-on guide to Android programming with Spring MVC, Spring Boot, and Spring Security
Key Features
- Build native Android applications with Spring for Android
- Explore Reactive programming, concurrency, and multithreading paradigms for building fast and efficient applications
- Write more expressive and robust code with Kotlin using its coroutines and other latest features
Book Description
As the new official language for Android, Kotlin is attracting new as well as existing Android developers. As most developers are still working with Java and want to switch to Kotlin, they find a combination of these two appealing. This book addresses this interest by bringing together Spring, a widely used Java SE framework for building enterprise-grade applications, and Kotlin.
Learn Spring for Android Application Development will guide you in leveraging some of the powerful modules of the Spring Framework to build lightweight and robust Android apps using Kotlin. You will work with various modules, such as Spring AOP, Dependency Injection, and Inversion of Control, to develop applications with better dependency management. You'll also explore other modules of the Spring Framework, such as Spring MVC, Spring Boot, and Spring Security. Each chapter has practice exercises at the end for you to assess your learning.
By the end of the book, you will be fully equipped to develop Android applications with Spring technologies.
What you will learn
- Get to grips with the basics of the Spring Framework
- Write web applications using the Spring Framework with Kotlin
- Develop Android apps with Kotlin
- Connect a RESTful web service with your app using Retrofilt
- Understand JDBC, JPA, MySQL for Spring and SQLite Room for Android
- Explore Spring Security fundamentals, Basic Authentication, and OAuth2
- Delve into Concurrency and Reactive programming using Kotlin
- Develop testable applications with Spring and Android
Who this book is for
If you're an aspiring Android developer or an existing developer who wants to learn how to use Spring to build robust Android applications in Kotlin, this book is for you. Though not necessary, basic knowledge of Spring will assist with understanding key concepts covered in this book.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Creating an Application
- Project idea
- Creating the design
- Server side:
- Developing a database model
- Creating a project and Maven dependency
- Creating entities, repositories, and a controller
- Implementing security
- Modified application.properties
- Client side:
- Creating models
- Creating HTTP requests
- Creating API services
- Modifying activities
- Fetching REST APIs
- Creating an adapter and XML layouts
- Checking the output
Technical requirements
Project idea
Server side
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Preface
- About the Environment
- Overview of Kotlin
- Overview of Spring Framework
- Spring Modules for Android
- Securing Applications with Spring Security
- Accessing the Database
- Concurrency
- Reactive Programming
- Creating an Application
- Testing an Application
- Assessments
- Other Books You May Enjoy
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app