Building Applications with Spring 5 and Kotlin : Build scalable and reactive applications with Spring combined with the productivity of Kotlin.
This book helps you get a deep understanding of Spring and how it can make your life easier. This collection of projects demonstrates the versatility of the language and enables you to build standalone applications. The book unveils the latest features of Kotlin and walks you through the building bl...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: 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; Debian and Ubuntu; Fedora; Installing JDK; Microsoft Windows; Linux; macOS; Installing the IDE; Microsoft Windows; Linux; macOS; Starting IntelliJ for the first time; Installing Spring 5; Maven installation.
- Gradle installationInstalling Postman; Microsoft Windows installation; Linux installation; macOS installation; Setting up a Git repository; Summary; Chapter 2: 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; Summary.
- Chapter 3: Building Your First Spring RESTful Service with KotlinDefining 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; Summary; Chapter 4: 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 LinuxUsing a software package manager; Using TAR; Creating a schema; Extending dependencies; CRUD operations; Insert; Update; Select; Delete; More regarding updates; Introducing DTOs; Creating database queries; Named queries; Summary; Chapter 5: Securing Applications with Spring Security; Introducing Spring Security; Defining user roles; Defining classes for each role; Defining DTOs for the user; Securing your REST API with basic authentication; What else can Spring Security do?; Summary; Chapter 6: Spring Cloud; Microservice architecture versus SOA.
- Understanding microservice architecturesMicroservices with Spring Cloud; Spring Cloud in practice; Configuration server; Discovery; Gateway; Updating the API application; Securing Spring Cloud services; Summary; Chapter 7: Using Project Reactor; Why use Project Reactor?; What is Project Reactor?; Using Project Reactor; Summary; Chapter 8: Development Practices; Challenging development practices; Reviewing dependency injection; Making your classes too open; Mutability; Multithreading; Not validating data; Tests coverage; XML configurations; Good ways to develop your code; Don't inject too much.