Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Spring Boot Update

Talk delivered at the Singapore Spring User Group - Jan 2015

  • Login to see the comments

Spring Boot Update

  1. 1. 1 Spring Boot Update Sergi Almar @sergialmar Singapore SUG – Jan 2016
  2. 2. 2 CFP IS OPEN!
  3. 3. 3 10 years of teaching Spring  2006: xml namespace was a big revolution – Turned 300 lines of XML config into 10 lines  2007: Creation of Spring MVC as we know it now – Based on annotations @RequestMapping, @RequestParam…  2009: JavaConfig  2011: Profiles  2014: Spring Boot 1.0! – Convention over configuration, smart tools
  4. 4. 4 Spring Boot  An opinionated runtime for Spring Projects – Convention-over-configuration, no XML, no code generation  Supports different project types, like Web and Batch  Handles most low-level, predictable setup for you – Auto-configure, embedded servlet engine
  5. 5. 5
  6. 6. 6
  7. 7. 7
  8. 8. 8 Spring Boot 1.3  Requires Spring Framework 4.2, uses Spring Security 4.0  Colorful ASCII art banners - DEMO
  9. 9. 9 DEMO
  10. 10. 10 Developer Tools  Sensible Property defaults  Automatic application restart  Remote development support  LiveReload support  Persistent HTTP session across restarts
  11. 11. 11 DEMO
  12. 12. 12 Caching Auto-configuration  Auto configuration for: JCache (JSR 107)
  13. 13. 13 DEMO
  14. 14. 14 More Auto-configuration  Cassandra  Spring Session  OAuth2  jOOQ  SendGrid  Artemis
  15. 15. 15 DEMO
  16. 16. 16 Fully Executable JARs  You can now execute a JAR as: ./my.jar  Or install it on init.d – $ sudo link -s /var/myapp/my.jar /etc/init.d/myapp
  17. 17. 17 DEMO
  18. 18. 18 Spring Boot 1.3  Persistent sessions  Support for @WebServlet, @WebFilter and @WebListener – Using @ServletComponentScan  And much more…
  19. 19. 19 Migrating to Spring Boot 1.3  Several properties renamed  Check out the updated dependencies  More: https://github.com/spring-projects/spring- boot/wiki/Spring-Boot-1.3-Release-Notes
  20. 20. 20 Spring Boot 1.4
  21. 21. 21 Spring 5  Q4 2016  Comprenhensive JDK 9 support  Java 8 baseline  Servlet 3.0+  HTTP/2  Reactive support

×