Successfully reported this slideshow.

Spring.new hope.1.3

2,065 views

Published on

Spring.new hope.1.3 by Sergey Morenets

Published in: Technology
  • Be the first to comment

Spring.new hope.1.3

  1. 1. Spring. Boot up your development. Сергей Моренец 26 июня 2014 г.
  2. 2. About author Works in IT since 2000 10 year of Java SE/EE experience Occupied senior Java developer/Team Lead positions Winner of 2013 JBoss Community Recognition Award. https://www.jboss.org/jbcra
  3. 3. Agenda • Spring new features • Spring boot project • Q & A
  4. 4. Spring configuration
  5. 5. Spring annotations
  6. 6. Issues
  7. 7. Issues
  8. 8. Groovy
  9. 9. Spring configuration
  10. 10. Spring configuration
  11. 11. Environment • Uses active profiles • Loads information from property sources • Property files • JVM system properties • System environment variables • JNDI • Servlet context parameters
  12. 12. Initialization
  13. 13. Initialization
  14. 14. Spring Boot • Stand-alone Spring applications • Embed Tomcat or Jetty directly (no need to • deploy WAR files) • Automatically Spring configuration • Absolutely no code generation and no requirement for XML configuration • Focus on business features and less on infrastructure
  15. 15. Spring Boot
  16. 16. Spring Boot • AopAutoConfiguration • JpaRepositoriesAutoConfiguration • HibernateJpaAutoConfiguration • DataSourceAutoConfiguration • JmsTemplateAutoConfiguration • MongoAutoConfiguration • RedisAutoConfiguration • WebMvcAutoConfiguration • SecurityAutoConfiguration
  17. 17. Properties
  18. 18. Properties
  19. 19. Spring Boot Actuator • Series of endpoints to help manage your Spring application • Reads properties and spring beans and then returns a JSON view • Allows direct access to non functional application information without having to open an IDE or a command prompt
  20. 20. Spring Boot Actuator • /info • /health • /beans • /env • /dump • /metrics • /trace • /autoconfigurationreport • /shutdown
  21. 21. Spring Boot Actuator. Health
  22. 22. Spring Boot Actuator. Metrics
  23. 23. Сергей Моренец morenets@mail.ru Q&A

×