Developing an application with Spring Boot

6,815 views
6,494 views

Published on

My presentation slides in KMS TechCon 2014, an internal technology event at KMS Technology Vietnam company.

The source code: https://github.com/kms-technology/springboot-angularjs-demo

"Spring Boot is a brand new framework from Spring Source, designed to simplify the bootstrapping and development of a new Spring application. Let's explore it through developing a web application using modern web technologies such as Spring 4, Spring Security, Spring Data JPA, AngularJS and Bootstrap UI."

Published in: Software, Technology
1 Comment
29 Likes
Statistics
Notes
No Downloads
Views
Total views
6,815
On SlideShare
0
From Embeds
0
Number of Embeds
355
Actions
Shares
0
Downloads
246
Comments
1
Likes
29
Embeds 0
No embeds

No notes for slide

Developing an application with Spring Boot

  1. 1. © 2013 KMS Technology
  2. 2. DEVELOPING APPLICATION WITH SPRING BOOT TRUNG NGUYEN TECHCON 2014 KMS TECHNOLOGY VIETNAM
  3. 3. INTRODUCTION TO SPRING BOOT • Create stand-alone Spring applications – Embed Tomcat or Jetty directly • Provide opinionated 'starter' POMs – simplify your Maven configuration • Automatically configure Spring whenever possible • Provide production-ready features – metrics, health checks and externalized configuration No code generation and no requirement for XML configuration
  4. 4. DEMO DEVELOPING APPLICATION WITH SPRING BOOT Full source code: https://github.com/kms-technology/springboot-angularjs-demo
  5. 5. DEMO: START A PROJECT POM Configuration Standard-alone Application DEVELOPING APPLICATION WITH SPRING BOOT
  6. 6. DEMO: DEVELOP THE BUSINESS Domain Service Unit-test for Service DEVELOPING APPLICATION WITH SPRING BOOT
  7. 7. DEMO: PERSIST DATA POM Configuration JPA Entity Spring Data JPA Repository DEVELOPING APPLICATION WITH SPRING BOOT
  8. 8. DEMO: MAKE A REST SERVICE POM Configuration REST Controller DEVELOPING APPLICATION WITH SPRING BOOT
  9. 9. DEMO: VALIDATE THE INPUTS DEVELOPING APPLICATION WITH SPRING BOOT POM Configuration JPA Entity Validation REST Controller
  10. 10. DEMO: VIEW BY ANGULARJS AngularJS Structure AngularJS Controller AngularJS View
  11. 11. DEMO: UPLOAD A PHOTO POM Configuration AngularJS Controller REST Controller App Configuration
  12. 12. DEMO: MORE SECURE POM Configuration App Configuration Security Configuration AngularJS Controller
  13. 13. DEMO: PRODUCTION-READYAppConfiguration Remoting Gauge & Counter Trace Health
  14. 14. DEMO: DEPLOY THE APPLICATION ‘Fat’ JAR file Deployment WAR file Deployment
  15. 15. DEMO: GO LIVE DEVELOPING APPLICATION WITH SPRING BOOT
  16. 16. REFERENCES • http://projects.spring.io/spring-boot/ • http://spring.io/guides/gs/spring-boot/ • http://docs.spring.io/spring- boot/docs/1.0.2.RELEASE/reference/htmlsingle/ • http://www.infoq.com/articles/microframeworks 1-spring-boot • Source code: https://github.com/kms-technology/springboot-angularjs-demo DEVELOPING APPLICATION WITH SPRING BOOT
  17. 17. Questions DEVELOPING APPLICATION WITH SPRING BOOT
  18. 18. THANK YOU © 2013 KMS Technology

×