Cargando…

Hands-on microservices with Kotlin : build reactive and cloud-native microservices with Kotlin using Spring 5 and Spring Boot 2.0 /

Kotlin has been the buzzword among developers ever since the release of new features in Kotlin 1.1. With Google's announcement of introducing first class support for Kotlin in their Android ecosystem, it's high time that Kotlin is realized as a mainstream language. Microservices aids in de...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Medina Iglesias, Juan Antonio (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Understanding Microservices; What is a microservice?; Understanding SoA; Differentiating microservices from SoA; From the monolith to microservices; Microservices principles; Defining design principles; Modelled around business capabilities; Loosely couple; Single responsibility; Hiding implementation; Isolation; Independently deployable; Build for failure; Upstream; Downstream; Logging; Monitoring; Alerting; Recovery; Fallbacks; Scalability; Automation; Domain-Driven Design.
  • What is Domain-Driven DesignUbiquitous language; Bounded context; Context mapping; Using DDD in microservices; Reactive microservices; Reactive programming; Reactive Manifesto; Responsive; Resilient; Elastic; Message-driven; Back pressure; Reactive frameworks; Reactive Extensions; Project Reactor; Java reactive streams; Akka; Reactive microservices; Cloud Native microservices; Cloud computing; Containers; Deployment models; Private cloud; Public cloud; Hybrid cloud; Service models; Infrastructure as a Service; Platform as a Service; Software as a Service; Cloud Native microservices; Summary.
  • Chapter 2: Getting Started with Spring Boot 2.0Creating a Spring Boot application; Setting up; Installing JDK 8; UNIX/Mac OS X; Windows; Testing the installation; Installing Maven 3.5; Unix /MacOS X; Windows; Testing the installation; Installing IntelliJ IDEA CE 2017.2; Using Spring Initializr; Understanding basic usage; Reviewing the generated project files; Maven Files; Source files; Resource files; Gitignore; Understanding advanced usage; Using Maven; Life cycle phases; Introduction to Maven goals; Understanding the POM file; Project definition; Maven parent; Project properties.
  • DependenciesBuild; Repositories; Using IntelliJ IDEA; Opening our Maven project; Executing life cycle phases and goals; Modifying our microservice; Debugging; Tips and Tricks; Spring Boot application structure; Creating an application object; Defining Spring application context; Understanding the component scan; Using components; Autowiring; Packaging and running a Spring Boot application; Packaging; Making JARs not WARs; Running Spring Boot applications; Creating executable JARs; Configuring our application; Setting configuration values; Using properties; Using Yaml.
  • Using command-line argumentsUnderstanding Spring Expression Language; Using profiles; Defining profile values; Executing with profiles; Creating conditional beans; Creating beans explicitly; Defining an additional bean; Defining beans with conditionals; Running different configurations; Summary; Chapter 3: Creating RESTful Services; Understanding RestController; What is a controller; Creating a RestController; Understanding our controller; Path and request parameters; Creating a map of customers; Getting path variables; Understanding path variables; Defining request parameters.