更新时间:2021-08-27 18:23:52
封面
Title Page
Copyright and Credits
Building Applications with Spring 5 and Kotlin
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Starting Up
What is your mission?
Separating code into independent entities
Describing entities
Planning your development
Preparing the working environment
Installing Git
Microsoft Windows
macOS
Linux
Debian and Ubuntu
Fedora
Building Git from the source code
Installing JDK
Installing the IDE
Starting IntelliJ for the first time
Installing Spring 5
Maven installation
Gradle installation
Installing Postman
Microsoft Windows installation
Linux installation
macOS installation
Setting up a Git repository
Summary
Starting with Spring
What is Spring?
What features does it offer?
Dependency injection
Inversion of Control (IoC)
Aspect Oriented Programming (AOP)
Container
MVC framework
Model
View
Controller
Transaction management
Misc
How well is Kotlin supported?
Creating Spring project
What is Spring Initializr?
Generating the project
Creating Spring project with IntelliJ
Building Your First Spring RESTful Service with Kotlin
Defining dependencies for our project
Our first controller
What else is available?
Adding a data class
Drafting other API calls
Running the application
Accessing Actuator endpoints
Adding an @Service component
Working with Spring Data JPA and MySQL
Introducing Spring Data JPA
What does Spring Data provide?
Which Spring Data modules do we need?
About Spring Data JPA
Installing MySQL
Installing MySQL Community Server on macOS
Installing MySQL Community Server on Windows
Installing MySQL Community Server on Linux
Using a software package manager
Using TAR
Creating a schema
Extending dependencies
CRUD operations
Insert
Update
Select
Delete