Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Inside http://spring.io
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Brian Clozel
April 30, 2015
Programming
1
400
Inside http://spring.io
a production spring reference application
Brian Clozel
April 30, 2015
Tweet
Share
More Decks by Brian Clozel
See All by Brian Clozel
Back from SpringOnePlatform 2019
bclozel
4
240
Intro à Spring Boot
bclozel
0
150
Cloud native apps with Spring Cloud
bclozel
1
740
HTTP2 for the web developer devoxx
bclozel
0
200
HTTP2 for the web developer
bclozel
1
160
Static Resources Management with Spring
bclozel
0
370
Intro to Spring Boot
bclozel
4
2.7k
Inside spring.io: a production spring reference application
bclozel
0
160
Open-sourcing http://spring.io
bclozel
1
660
Other Decks in Programming
See All in Programming
株式会社 Sun terras カンパニーデック
sunterras
0
2k
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.7k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
380
15年目のiOSアプリを1から作り直す技術
teakun
1
600
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
370
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
400
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
240
Codex の「自走力」を高める
yorifuji
0
630
Geminiの機能を調べ尽くしてみた
naruyoshimi
0
200
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
220
Unity6.3 AudioUpdate
cova8bitdots
0
110
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.6k
Featured
See All Featured
Designing for Timeless Needs
cassininazir
0
150
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
94
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
450
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
400
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.1k
Un-Boring Meetings
codingconduct
0
220
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
The browser strikes back
jonoalderson
0
760
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Producing Creativity
orderedlist
PRO
348
40k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
KATA
mclloyd
PRO
35
15k
Transcript
Inside http://spring.io Brian Clozel @brianclozel
Chris Beams - spring.io is live!
None
None
None
None
None
Brian Clozel @brianclozel http://spring.io/team/bclozel
1. Open Sourcing 2. Evolving 3. Latest improvements
Sagan application 10 Open sourcing Sagan
Example/Sample Application
Reference Application
Reference Application + live in production + open source
None
15
16 github.com/spring-io/sagan
17 BSD 3 License master branch == production
Sagan project layout 18
19 Resource Handling with Spring 4.1 workshop Missed it? http://bit.ly/resourcehandling
20 Spring Boot \o/
21 @EnableAutoConfiguration // <- THIS! @Configuration @ComponentScan public class AppConfiguration
{ }
22 curl spring.io/info curl spring.io/autoconfig curl spring.io/health curl spring.io/beans *
some endpoints are protected!
Evolving Sagan 23 while still being live in production
24 // JDK8 streams! List<String> projectVersions = project.getProjectReleases().stream() .map(ProjectRelease::getVersion) .collect(Collectors.toList());
25 Spring IO Platform dependencies { versionManagement 'io.spring.platform:platform-versions: 1.1.2.RELEASE@properties' }
26 <!—- in dependencyManagement —-> <dependency> <groupId>io.spring.platform</groupId> <artifactId>platform-bom</artifactId> <version>1.1.2.RELEASE</version> <type>pom</type>
<scope>import</scope> </dependency>
27 Distributed team
28
29
30
31 Blue/Green deployments
32 Sagan Blue instances CF Router (golang) Sagan Green instances
Latest improvements 33 …and what’s next?
34 Refactoring, Maintenance, Production issues…
35
36
37
None
None
None
None
None
43
44 Asciidoctor documents
None
46 spring-data-redis + @Cacheable annotations
sagan-site hosted on PWS GET http://spring.io search - get raw
guides - webhooks ElephantSQL redis
Q&A 48 …and what’s next?
One more thing 49 a.k.a « we have some time
left »
50 Database Migration
51 Session Management
52 Search Improvements
53 SPRING CLOUD
service B Cascading Faults service A
service B service A Circuit breaker Hystrix Fallback
Q&A 56 #springio15