Your SlideShare is downloading. ×
Developing an application with Spring Boot
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Developing an application with Spring Boot

2,339
views

Published on

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

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

0 Comments
21 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,339
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
93
Comments
0
Likes
21
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. © 2013 KMS Technology
  • 2. DEVELOPING APPLICATION WITH SPRING BOOT TRUNG NGUYEN TECHCON 2014 KMS TECHNOLOGY VIETNAM
  • 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. DEMO DEVELOPING APPLICATION WITH SPRING BOOT Full source code: https://github.com/kms-technology/springboot-angularjs-demo
  • 5. DEMO: START A PROJECT POM Configuration Standard-alone Application DEVELOPING APPLICATION WITH SPRING BOOT
  • 6. DEMO: DEVELOP THE BUSINESS Domain Service Unit-test for Service DEVELOPING APPLICATION WITH SPRING BOOT
  • 7. DEMO: PERSIST DATA POM Configuration JPA Entity Spring Data JPA Repository DEVELOPING APPLICATION WITH SPRING BOOT
  • 8. DEMO: MAKE A REST SERVICE POM Configuration REST Controller DEVELOPING APPLICATION WITH SPRING BOOT
  • 9. DEMO: VALIDATE THE INPUTS DEVELOPING APPLICATION WITH SPRING BOOT POM Configuration JPA Entity Validation REST Controller
  • 10. DEMO: VIEW BY ANGULARJS AngularJS Structure AngularJS Controller AngularJS View
  • 11. DEMO: UPLOAD A PHOTO POM Configuration AngularJS Controller REST Controller App Configuration
  • 12. DEMO: MORE SECURE POM Configuration App Configuration Security Configuration AngularJS Controller
  • 13. DEMO: PRODUCTION-READYAppConfiguration Remoting Gauge & Counter Trace Health
  • 14. DEMO: DEPLOY THE APPLICATION ‘Fat’ JAR file Deployment WAR file Deployment
  • 15. DEMO: GO LIVE DEVELOPING APPLICATION WITH SPRING BOOT
  • 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. Questions DEVELOPING APPLICATION WITH SPRING BOOT
  • 18. THANK YOU © 2013 KMS Technology