My Account Log in

1 option

Building applications with Spring 5 and Kotlin : build scalable and reactive applications with Spring combined with the productivity of Kotlin / Milos Vasic.

Ebook Central Academic Complete Available online

View online
Format:
Book
Author/Creator:
Vasic, Milos, author.
Language:
English
Subjects (All):
Application program interfaces (Computer software).
Physical Description:
1 online resource (303 pages)
Edition:
1st ed.
Place of Publication:
Birmingham ; Mumbai : Packt Publishing, 2018.
Summary:
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 blocks that form the basis of writing applications.
Contents:
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
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
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
Chapter 3: 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
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 Linux
Using 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
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?
Chapter 6: Spring Cloud
Microservice architecture versus SOA
Understanding microservice architectures
Microservices with Spring Cloud
Spring Cloud in practice
Configuration server
Discovery
Gateway
Updating the API application
Securing Spring Cloud services
Chapter 7: Using Project Reactor
Why use Project Reactor?
What is Project Reactor?
Using Project Reactor
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
Use a closed-visibility approach
Solving the multithreading issue
Spring data validation
Chapter 9: Testing
Why is testing a crucial part of development?
So, what is testing?
Common test practices and approaches
Preparing our project
Writing our first test with Kotlin
Running the test in InteliJ IDEA
Testing Spring REST applications
Running test suites
Chapter 10 : Project Deployment
What will be deployed?
Deployment options
Deploying the Tomcat application server
Deploying to the Java EE application server.
Deploying to the Cloud (AWS)
Other Books You May Enjoy
Index.
Notes:
Description based on print version record.
ISBN:
9781788473156
1788473159
OCLC:
1038495530

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account