Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Microservices mit Spring Boot 1.4 Mark Paluch, Pivotal Software, Inc. @mp911de
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ @mp911de github.com/mp911de paluch.biz Mark Paluch
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Agenda §Überblick §Q&A §Let’s code! 3
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 4 Spring Boot lets you pair-program with the Spring team. “ Josh Long, @starbuxman
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Was Spring Boot nicht ist §Prototyping-Tool §Nur für eingebettete Container apps §Ein Ausschnitt von Spring §Nur was für Anfänger 5
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Boot ist §Anwendungsinfrastruktur • Konfiguration • Laufzeit • Abhängigkeiten §Vorkonfiguriert §Geht aus dem Weg für individuelle Anpassungen §Anwendungsentwicklung auf die Spring-Art §12-Factor-Ready 6
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Boot Integrationen 7
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Microservices §Laufzeit-Umgebung §Daten-Anbindung §APIs §Monitoring §Deployment §Skalierbarkeit 8
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Microservices in der Cloud §Platform Support §Cloud Deployment §Service Discovery §Überlastungs-Schutz („Circuit breaker“) §Konfiguration §Verteiltes Tracing 9
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 11 Let’s code! § Code: github.com/mp911de/microservices-with-spring-boot
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Schritt 1: Projekt Setup 12
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Schritt 2: Lauffähige Anwendung CarSaleApplication starten 14
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Schritt 3: Domänenmodell Entities und Repositories 15
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Schritt 4: Domänenmodell testen 16
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Schritt 5: Datenbank initialisieren 17
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Schritt 6: Use-Case erstellen 18
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Schritt 8: Anwendung starten … und testen 20
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 22 Ressourcen § Code: github.com/mp911de/microservices-with-spring-boot § Slides: mp911.de/mwsb
Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 24 Twitter: @mp911de Github: github.com/mp911de Website: paluch.biz Code: