Suche senden
Hochladen
Introduction to Spring Boot!
•
13 gefällt mir
•
6,401 views
Jakub Kubrynski
Folgen
Software
Technologie
Bildung
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 28
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Spring boot
Spring boot
Bhagwat Kumar
Spring boot - an introduction
Spring boot - an introduction
Jonathan Holloway
Spring Boot in Action
Spring Boot in Action
Alex Movila
Spring boot introduction
Spring boot introduction
Rasheed Waraich
Introduction to Spring Boot
Introduction to Spring Boot
Purbarun Chakrabarti
Spring Boot Tutorial
Spring Boot Tutorial
Naphachara Rattanawilai
Spring Boot
Spring Boot
HongSeong Jeon
Spring boot Introduction
Spring boot Introduction
Jeevesh Pandey
Empfohlen
Spring boot
Spring boot
Bhagwat Kumar
Spring boot - an introduction
Spring boot - an introduction
Jonathan Holloway
Spring Boot in Action
Spring Boot in Action
Alex Movila
Spring boot introduction
Spring boot introduction
Rasheed Waraich
Introduction to Spring Boot
Introduction to Spring Boot
Purbarun Chakrabarti
Spring Boot Tutorial
Spring Boot Tutorial
Naphachara Rattanawilai
Spring Boot
Spring Boot
HongSeong Jeon
Spring boot Introduction
Spring boot Introduction
Jeevesh Pandey
Spring boot
Spring boot
Gyanendra Yadav
Spring boot
Spring boot
Pradeep Shanmugam
Xke spring boot
Xke spring boot
sourabh aggarwal
Spring Boot
Spring Boot
Pei-Tang Huang
Spring boot
Spring boot
sdeeg
Spring - Part 1 - IoC, Di and Beans
Spring - Part 1 - IoC, Di and Beans
Hitesh-Java
Spring annotation
Spring annotation
Rajiv Srivastava
Spring Boot
Spring Boot
Jiayun Zhou
Connecting Connect with Spring Boot
Connecting Connect with Spring Boot
Vincent Kok
REST APIs with Spring
REST APIs with Spring
Joshua Long
Introduction to spring boot
Introduction to spring boot
Santosh Kumar Kar
Spring Framework - AOP
Spring Framework - AOP
Dzmitry Naskou
Introduction to Spring Framework
Introduction to Spring Framework
Serhat Can
Spring Framework
Spring Framework
tola99
Spring Framework - Core
Spring Framework - Core
Dzmitry Naskou
Spring Core
Spring Core
Pushan Bhattacharya
Spring Boot
Spring Boot
koppenolski
Rediscovering Spring with Spring Boot(1)
Rediscovering Spring with Spring Boot(1)
Gunith Devasurendra
Spring Boot and REST API
Spring Boot and REST API
07.pallav
Spring Boot
Spring Boot
Jaran Flaath
Microservices with Spring Boot
Microservices with Spring Boot
Joshua Long
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
Eberhard Wolff
Weitere ähnliche Inhalte
Was ist angesagt?
Spring boot
Spring boot
Gyanendra Yadav
Spring boot
Spring boot
Pradeep Shanmugam
Xke spring boot
Xke spring boot
sourabh aggarwal
Spring Boot
Spring Boot
Pei-Tang Huang
Spring boot
Spring boot
sdeeg
Spring - Part 1 - IoC, Di and Beans
Spring - Part 1 - IoC, Di and Beans
Hitesh-Java
Spring annotation
Spring annotation
Rajiv Srivastava
Spring Boot
Spring Boot
Jiayun Zhou
Connecting Connect with Spring Boot
Connecting Connect with Spring Boot
Vincent Kok
REST APIs with Spring
REST APIs with Spring
Joshua Long
Introduction to spring boot
Introduction to spring boot
Santosh Kumar Kar
Spring Framework - AOP
Spring Framework - AOP
Dzmitry Naskou
Introduction to Spring Framework
Introduction to Spring Framework
Serhat Can
Spring Framework
Spring Framework
tola99
Spring Framework - Core
Spring Framework - Core
Dzmitry Naskou
Spring Core
Spring Core
Pushan Bhattacharya
Spring Boot
Spring Boot
koppenolski
Rediscovering Spring with Spring Boot(1)
Rediscovering Spring with Spring Boot(1)
Gunith Devasurendra
Spring Boot and REST API
Spring Boot and REST API
07.pallav
Spring Boot
Spring Boot
Jaran Flaath
Was ist angesagt?
(20)
Spring boot
Spring boot
Spring boot
Spring boot
Xke spring boot
Xke spring boot
Spring Boot
Spring Boot
Spring boot
Spring boot
Spring - Part 1 - IoC, Di and Beans
Spring - Part 1 - IoC, Di and Beans
Spring annotation
Spring annotation
Spring Boot
Spring Boot
Connecting Connect with Spring Boot
Connecting Connect with Spring Boot
REST APIs with Spring
REST APIs with Spring
Introduction to spring boot
Introduction to spring boot
Spring Framework - AOP
Spring Framework - AOP
Introduction to Spring Framework
Introduction to Spring Framework
Spring Framework
Spring Framework
Spring Framework - Core
Spring Framework - Core
Spring Core
Spring Core
Spring Boot
Spring Boot
Rediscovering Spring with Spring Boot(1)
Rediscovering Spring with Spring Boot(1)
Spring Boot and REST API
Spring Boot and REST API
Spring Boot
Spring Boot
Andere mochten auch
Microservices with Spring Boot
Microservices with Spring Boot
Joshua Long
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
Eberhard Wolff
Simplify Cloud Applications using Spring Cloud
Simplify Cloud Applications using Spring Cloud
Ramnivas Laddad
Spring Framework 4.0 to 4.1
Spring Framework 4.0 to 4.1
Sam Brannen
Spring Web MVC
Spring Web MVC
zeeshanhanif
Microservices with Java, Spring Boot and Spring Cloud
Microservices with Java, Spring Boot and Spring Cloud
Eberhard Wolff
Spring Boot with Quartz
Spring Boot with Quartz
David Kiss
Spring Framework Training Course
Spring Framework Training Course
RMS Software Technologies
REST - the good and the bad parts
REST - the good and the bad parts
Jakub Kubrynski
REST - the good and the bad parts
REST - the good and the bad parts
Jakub Kubrynski
Modular Java - OSGi
Modular Java - OSGi
Craig Walls
That old Spring magic has me in its SpEL
That old Spring magic has me in its SpEL
Craig Walls
Getting Started with Spring Boot
Getting Started with Spring Boot
David Kiss
-XX:+UseG1GC
-XX:+UseG1GC
Jakub Kubrynski
JVM Dive for mere mortals
JVM Dive for mere mortals
Jakub Kubrynski
Spring Boot
Spring Boot
Eberhard Wolff
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Matt Raible
Bootiful Code with Spring Boot
Bootiful Code with Spring Boot
Joshua Long
Andere mochten auch
(18)
Microservices with Spring Boot
Microservices with Spring Boot
Microservice With Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
Simplify Cloud Applications using Spring Cloud
Simplify Cloud Applications using Spring Cloud
Spring Framework 4.0 to 4.1
Spring Framework 4.0 to 4.1
Spring Web MVC
Spring Web MVC
Microservices with Java, Spring Boot and Spring Cloud
Microservices with Java, Spring Boot and Spring Cloud
Spring Boot with Quartz
Spring Boot with Quartz
Spring Framework Training Course
Spring Framework Training Course
REST - the good and the bad parts
REST - the good and the bad parts
REST - the good and the bad parts
REST - the good and the bad parts
Modular Java - OSGi
Modular Java - OSGi
That old Spring magic has me in its SpEL
That old Spring magic has me in its SpEL
Getting Started with Spring Boot
Getting Started with Spring Boot
-XX:+UseG1GC
-XX:+UseG1GC
JVM Dive for mere mortals
JVM Dive for mere mortals
Spring Boot
Spring Boot
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Cloud Native PWAs (progressive web apps with Spring Boot and Angular) - DevNe...
Bootiful Code with Spring Boot
Bootiful Code with Spring Boot
Ähnlich wie Introduction to Spring Boot!
Spring Bootを触ってみた
Spring Bootを触ってみた
onozaty
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Mihail Stoynov
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
WO Community
Intro to Spring Boot and Spring Cloud OSS - Twin Cities Cloud Foundry Meetup
Intro to Spring Boot and Spring Cloud OSS - Twin Cities Cloud Foundry Meetup
Josh Ghiloni
Java EE revisits design patterns
Java EE revisits design patterns
Alex Theedom
Java EE revisits design patterns
Java EE revisits design patterns
Alex Theedom
#jjug_ccc #ccc_gh5 What's new in Spring Framework 4.3 / Boot 1.4 + Pivotal's ...
#jjug_ccc #ccc_gh5 What's new in Spring Framework 4.3 / Boot 1.4 + Pivotal's ...
Toshiaki Maki
Creating Modular Test-Driven SPAs with Spring and AngularJS
Creating Modular Test-Driven SPAs with Spring and AngularJS
Gunnar Hillert
Java EE Revisits Design Patterns
Java EE Revisits Design Patterns
Alex Theedom
Spring.Boot up your development
Spring.Boot up your development
Strannik_2013
Spring.new hope.1.3
Spring.new hope.1.3
Alex Tumanoff
Rapid application development with spring roo j-fall 2010 - baris dere
Rapid application development with spring roo j-fall 2010 - baris dere
Baris Dere
Spring essentials 1 (Spring Series 01)
Spring essentials 1 (Spring Series 01)
Heartin Jacob
A Brief History of OWIN
A Brief History of OWIN
Ryan Riley
Whats new in Java 9,10,11,12
Whats new in Java 9,10,11,12
Rory Preddy
YQL and Geo
YQL and Geo
mambo91
Introduction to Flask Micro Framework
Introduction to Flask Micro Framework
Mohammad Reza Kamalifard
SE2016 - Java EE revisits design patterns 2016
SE2016 - Java EE revisits design patterns 2016
Alex Theedom
Counterclockwise past present future
Counterclockwise past present future
lolopetit
Java days Lviv 2015
Java days Lviv 2015
Alex Theedom
Ähnlich wie Introduction to Spring Boot!
(20)
Spring Bootを触ってみた
Spring Bootを触ってみた
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Modules in Java? Finally! (OpenJDK 9 Jigsaw, JSR376)
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
Beyond Fluffy Bunny. How I leveraged WebObjects in my lean startup.
Intro to Spring Boot and Spring Cloud OSS - Twin Cities Cloud Foundry Meetup
Intro to Spring Boot and Spring Cloud OSS - Twin Cities Cloud Foundry Meetup
Java EE revisits design patterns
Java EE revisits design patterns
Java EE revisits design patterns
Java EE revisits design patterns
#jjug_ccc #ccc_gh5 What's new in Spring Framework 4.3 / Boot 1.4 + Pivotal's ...
#jjug_ccc #ccc_gh5 What's new in Spring Framework 4.3 / Boot 1.4 + Pivotal's ...
Creating Modular Test-Driven SPAs with Spring and AngularJS
Creating Modular Test-Driven SPAs with Spring and AngularJS
Java EE Revisits Design Patterns
Java EE Revisits Design Patterns
Spring.Boot up your development
Spring.Boot up your development
Spring.new hope.1.3
Spring.new hope.1.3
Rapid application development with spring roo j-fall 2010 - baris dere
Rapid application development with spring roo j-fall 2010 - baris dere
Spring essentials 1 (Spring Series 01)
Spring essentials 1 (Spring Series 01)
A Brief History of OWIN
A Brief History of OWIN
Whats new in Java 9,10,11,12
Whats new in Java 9,10,11,12
YQL and Geo
YQL and Geo
Introduction to Flask Micro Framework
Introduction to Flask Micro Framework
SE2016 - Java EE revisits design patterns 2016
SE2016 - Java EE revisits design patterns 2016
Counterclockwise past present future
Counterclockwise past present future
Java days Lviv 2015
Java days Lviv 2015
Mehr von Jakub Kubrynski
Work sample coding tests
Work sample coding tests
Jakub Kubrynski
6 key tips for conducting an effective skill assessment interview
6 key tips for conducting an effective skill assessment interview
Jakub Kubrynski
JPA - Beyond copy-paste
JPA - Beyond copy-paste
Jakub Kubrynski
Consumer Driven Contracts - 4Developers 2015
Consumer Driven Contracts - 4Developers 2015
Jakub Kubrynski
What you won't read in books about RESTful services
What you won't read in books about RESTful services
Jakub Kubrynski
Warsjawa profiling tools
Warsjawa profiling tools
Jakub Kubrynski
Warsjawa profiling
Warsjawa profiling
Jakub Kubrynski
JOOX - Java Object Oriented XML
JOOX - Java Object Oriented XML
Jakub Kubrynski
Arquillian
Arquillian
Jakub Kubrynski
Spring Data
Spring Data
Jakub Kubrynski
Profiling
Profiling
Jakub Kubrynski
Mehr von Jakub Kubrynski
(11)
Work sample coding tests
Work sample coding tests
6 key tips for conducting an effective skill assessment interview
6 key tips for conducting an effective skill assessment interview
JPA - Beyond copy-paste
JPA - Beyond copy-paste
Consumer Driven Contracts - 4Developers 2015
Consumer Driven Contracts - 4Developers 2015
What you won't read in books about RESTful services
What you won't read in books about RESTful services
Warsjawa profiling tools
Warsjawa profiling tools
Warsjawa profiling
Warsjawa profiling
JOOX - Java Object Oriented XML
JOOX - Java Object Oriented XML
Arquillian
Arquillian
Spring Data
Spring Data
Profiling
Profiling
Kürzlich hochgeladen
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
masabamasaba
The title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
masabamasaba
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
Shane Coughlan
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
Shrmpro
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
masabamasaba
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
Presentation.STUDIO
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
Mind IT Systems
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
AmarnathKambale
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
Papp Krisztián
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
OnePlan Solutions
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
aagamshah0812
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
masabamasaba
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Arshad QA
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Steffen Staab
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
harshavardhanraghave
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Nitya salvi
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
Willy Marroquin (WillyDevNET)
Kürzlich hochgeladen
(20)
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
The title is not connected to what is inside
The title is not connected to what is inside
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
Software Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
Introduction to Spring Boot!
1.
SpringBoot! JakubKubryński/kubrynski.com jk@devskiller.com @jkubrynski
2.
whoami kubrynski.com @jkubrynskijk@devskiller.com
3.
History • 1999 J2EE
1.2 • 2001 xDoclet 1.0 • 2004 Spring Framework 1.0 ● Injection ● POJO oriented ● AOP & transactions • 2006 Java EE 5 • 2013 Spring Boot! kubrynski.com @jkubrynskijk@devskiller.com
4.
Focus source: spring.io kubrynski.com @jkubrynskijk@devskiller.com
5.
Revolution @RestController @EnableAutoConfiguration public class HelloWorld
{ @RequestMapping("/") public String helloWorld() { return "Hello World!"; } public static void main(String[] args) { SpringApplication.run(HelloWorld.class, args); } } kubrynski.com @jkubrynskijk@devskiller.com
6.
Key features • Stand-alone
Spring applications • No code generation / no XML config • Automatic configuration • Starter dependencies • Embedded Tomcat or Jetty • Production-ready environment kubrynski.com @jkubrynskijk@devskiller.com
7.
Blocks • SpringApplication • @EnableAutoConfiguration •
@ConditionalOnClass • @ConditionalOnBean • @ConditionalOnExpression kubrynski.com @jkubrynskijk@devskiller.com @...OnMissing...
8.
Sampleauto-configuration @Configuration @ConditionalOnClass({ MBeanExporter.class }) @ConditionalOnMissingBean({
MBeanExporter.class }) @ConditionalOnExpression("${spring.jmx.enabled:true}") public class JmxAutoConfiguration { ... } kubrynski.com @jkubrynskijk@devskiller.com
9.
Availableauto-configurations ● Batch ● Spring Data, JPA,
Hibernate, Mongo, Redis ● JMS, RabbitMQ (AMQP) ● Reactor ● Security ● WebMVC, Thymeleaf, Websocket ● Tomcat and Jetty kubrynski.com @jkubrynskijk@devskiller.com
10.
Starters • spring-boot-starter • spring-boot-starter-web •
spring-boot-starter-test • spring-boot-starter-actuator kubrynski.com @jkubrynskijk@devskiller.com
11.
Starters <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> kubrynski.com @jkubrynskijk@devskiller.com
12.
Properties public class MailProperties
{ @Value(“serverAddress”) private InetAddress serverAddress; } java – jar app.jar –serverAddress=10.0.0.1 kubrynski.com @jkubrynskijk@devskiller.com
13.
Properties @ConfigurationProperties(prefix=”mail”) public class MailProperties
{ private InetAddress serverAddress; private Resource template; } mail.serverAddress : 84.123.456.32 mail.template : classpath:mail.vm kubrynski.com @jkubrynskijk@devskiller.com
14.
Properties @ConfigurationProperties(prefix=”mail”) public class MailProperties
{ private InetAddress serverAddress; private Resource template; } mail: serverAddress : 84.123.456.32 template : classpath:mail.vm kubrynski.com @jkubrynskijk@devskiller.com
15.
Tests @SpringApplicationConfiguration(classes = Application.class) @ContextConfiguration(classes =
Application, loader = SpringApplicationContextLoader) @IntegrationTest kubrynski.com @jkubrynskijk@devskiller.com
16.
Profiles • default file
is application.properties • customize by spring.config.name • spring.profiles.active = production,mysql • configuration per profile: ● application-production.properties ● conference-test.properties kubrynski.com @jkubrynskijk@devskiller.com
17.
Logging • Log4J • Logback •
Java Util Logging kubrynski.com @jkubrynskijk@devskiller.com
18.
Security • spring-boot-starter-security • @SecurityAutoConfiguration •
SecurityProperties ● security.requireSsl = true ● security.enableCsrf = true kubrynski.com @jkubrynskijk@devskiller.com
19.
UserInterface • Thymeleaf • Template
engine for XML/XHTML/HTML5 • Customizable ● spring.thymeleaf.prefix=classpath:/templates/ ● spring.thymeleaf.suffix=.html ● spring.thymeleaf.mode=HTML5 ● spring.thymeleaf.encoding=UTF-8 kubrynski.com @jkubrynskijk@devskiller.com
20.
Productionready • Monitoring endpoints ● /health ● /info ● /metrics ● /trace •
JMX / SSH • Auditing kubrynski.com @jkubrynskijk@devskiller.com
21.
WAR @EnableAutoConfiguration public class WebApp
extends SpringBootServletInitializer{ @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application.sources(SampleApplication.class); } } kubrynski.com @jkubrynskijk@devskiller.com
22.
Monitoring application ● ApplicationPidListener ● SpringApplication.addListeners(...) ● META-INF/spring.factories org.springframework.context.ApplicationListener= org.springframework.boot.actuate.system.ApplicationPidListener kubrynski.com @jkubrynskijk@devskiller.com
23.
Rapidprototyping ● Spring Boot CLI ● $
spring run app.groovy ● $ spring test tests.groovy kubrynski.com @jkubrynskijk@devskiller.com
24.
Howdoesithelp? ● Dramatically reduces boilerplate
code ● Enables polyglot ● Simplifies integration testing ● Simplifies environment maintenance kubrynski.com @jkubrynskijk@devskiller.com
25.
It'sSpring kubrynski.com @jkubrynskijk@devskiller.com
26.
Livecoding “Talkischeap –showmethecode” kubrynski.com @jkubrynskijk@devskiller.com
27.
Youhavequestions I(probably)haveanswers kubrynski.com @jkubrynskijk@devskiller.com
28.
END! THANKYOU kubrynski.com @jkubrynskijk@devskiller.com
Jetzt herunterladen