java and services code lab spring boot and spring data using mongo db
TRANSCRIPT
![Page 1: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/1.jpg)
Java and Services: Code Lab-Spring Boot and Spring Data using MongoDBM I YA W. L O N G W E T E C H N O LO GY E VA N G E L I S T
M I YA _ L O N G W E @ YA H O O . C O M
![Page 2: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/2.jpg)
AGENDA Introduction to Spring Boot
Why Use Spring Boot
Review Sample Application
QA
![Page 3: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/3.jpg)
Spring Boot Goals ➔ Introduce developers to Spring Boot, an opinionated way to rapidly build production
grade Spring applications quickly and with minimal fuss. ➔ Be opinionated out of the box, but get out of the way quickly as requirements start to
diverge from the defaults ➔ Provide a range of non-functional features that are common to large classes of projects (e.
g. embedded servers, security, metrics, health checks, externalized configuration)
➔ Absolutely no code generation and no requirement for XML configuration!
![Page 4: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/4.jpg)
Spring Boot Goals… ➔ Single point of focus (as opposed to large collection of spring-* projects)
➔ A tool for getting started very quickly with Spring
➔ Common non-functional requirements for a "real" application
➔ Exposes a lot of useful features by default
➔ Gets out of the way quickly if you want to change defaults
![Page 5: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/5.jpg)
Spring Boot: Focus Attention
![Page 6: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/6.jpg)
Architecture
![Page 7: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/7.jpg)
Disclaimer Spring Boot is NOT
! A prototyping tool
! Only for embedded container apps
! Sub-par Spring experience
! For Spring beginners only
![Page 8: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/8.jpg)
Spring Boot Modules Spring Boot - main library supporting the other parts of Spring Boot Spring Boot Autoconfigure - single @EnableAutoConfiguration annotation creates a
whole Spring context Spring Boot Starters - a set of convenient dependency descriptors that you can
include in your application. Spring Boot CLI - compiles and runs Groovy source as a Spring application Spring Boot Actuator - common non-functional features that make an app instantly
deployable and supportable in production Spring Boot Tools - for building and executing self-contained JAR and WAR archives Spring Boot Samples - a wide range of sample apps
![Page 9: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/9.jpg)
Boot Modules
Boot
Autoconfigure
Starters
CLI
Actuator
Tools
Samples
![Page 10: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/10.jpg)
Getting Started Quickly In Java!
http://spring.io/guides
DEMO – USING ECLIPSE
DEMO- Using Web Services
https://start.spring.io/
![Page 11: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/11.jpg)
DEMO Application Overview
![Page 12: Java and services code lab spring boot and spring data using mongo db](https://reader036.vdocuments.mx/reader036/viewer/2022062400/58a57f121a28ab36768b6ca5/html5/thumbnails/12.jpg)
QA