Simple JAX-RS via SpringBoot

  • View

  • Download

Embed Size (px)

Text of Simple JAX-RS via SpringBoot

  • Spring Boot

  • 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.

  • FeaturesCreate stand-alone Spring applicationsEmbeded Tomcat, Jetty or Undertow directly (you dont need to deploy WAR files or create one)Based from 'starter' POMs to simplify your Maven configurationAutomatically configure SpringAbsolutely no code generation and no requirement for XML configurations. Isnt that great?!

  • Simple JAX-RS service

  • 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


  • References:javacodegeeks.com