simple jax-rs via springboot
TRANSCRIPT
![Page 1: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/1.jpg)
Spring Boot
![Page 2: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/2.jpg)
What is Spring Boot?• Spring Boot makes it easy to create stand-
alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
![Page 3: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/3.jpg)
Features• Create stand-alone Spring applications
• Embeded Tomcat, Jetty or Undertow directly (you don’t need to deploy WAR files or create one)
• Based from 'starter' POMs to simplify your Maven configuration
• Automatically configure Spring
• Absolutely no code generation and no requirement for XML configurations. Isn’t that great?!
![Page 4: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/4.jpg)
Simple JAX-RS service
![Page 5: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/5.jpg)
![Page 6: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/6.jpg)
![Page 7: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/7.jpg)
![Page 8: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/8.jpg)
![Page 9: Simple JAX-RS via SpringBoot](https://reader035.vdocuments.site/reader035/viewer/2022081515/58f099e71a28ab46548b4609/html5/thumbnails/9.jpg)
• Spring Boot along with @EnableAutoConfiguration/@SpringBootApplication does the rest. It detects the presence of Jetty in the classpath, comes to a valid conclusion that our intention is to run web application and complement the Spring context with the necessary pieces
<org.eclipse.jetty.version>9.3.8.v20160314</org.eclipse.jetty.version>