SpringOne Platform 2016 Keynote - Spring Boot Weather Application Demo

  Рет қаралды 11,362

SpringDeveloper

SpringDeveloper

Күн бұрын

Keynote recorded at SpringOne Platform 2016.
Stephane Nicoll and Josh Long tag team a live code, tour de force on Spring Boot 1.4, the weather, cyan cats, and everything.

Пікірлер: 15
@YadabRajOjha
@YadabRajOjha 8 жыл бұрын
Its great!, thank you Stephane Nicoll and Josh Long for wonderful presentation.
@dmpg0231
@dmpg0231 8 жыл бұрын
@8:28 Stephane introduce the 404.html under the error folder, and then the page is opened in the editor with a full content, so I thought that Spring Boot fulfill the error pages but not... Spring boot just create a blank 404.html page without any content inside. So I wondering how is that Sptephane get the 404.html page´s content after he created that file???? (I asked Spteph on Tweeter but he didn't get what I was actually asking about :0)
@TheDekeyras
@TheDekeyras 8 жыл бұрын
They probably overwrote the default html template for the demo.
@snicoll
@snicoll 7 жыл бұрын
Sorry for the super late reply. I just used a trick from IntelliJ IDEA called file template. It has nothing to do with spring boot, really. Rather than me coding the HTML page in front of the audience, I had it prepared with a shortcut. So I basically created a new file from a template and use devtools to refresh the app and that's how the smiley showed up. You could try yourself by creating an empty page and just put some title or text and you'll see boot will use it automatically. Hope that helps.
@vikashkaushik6205
@vikashkaushik6205 8 жыл бұрын
which tool you have mentioned for browser to pull new data from server?
@snicoll
@snicoll 7 жыл бұрын
I assume you're talking about LiveReload, check the free plugin for your browser here: livereload.com/extensions/
@zakariaamine88
@zakariaamine88 8 жыл бұрын
any chance getting the code of the demo app?
@snicoll
@snicoll 7 жыл бұрын
Here you go: github.com/springoneplatform2016/weather-app
@zakariaamine88
@zakariaamine88 7 жыл бұрын
Cool thanks
@xenoterracide
@xenoterracide 8 жыл бұрын
@AutoconfigureMvcMock (or whatever) is awesome, but I haven't found @WebMvcTest to be practically useful, I use too much Spring Data. Sadly because I'm not using JPA the only one of these I've found useful is the @JsonTest one, otherwise I end up using the full @SpringBootApplicationTest (or whatever my memory for these is useless without an IDE)
@snicoll
@snicoll 7 жыл бұрын
That must be `SpringBootTest`. If you have a repository layer you could mock it though.
@xenoterracide
@xenoterracide 7 жыл бұрын
Sure, and mock out every save method to add an id, and every find method to provide previously saved results, and ignore bugs created because you were messing with mocks instead of thinking about transactions. And what about Spring Security? A lot of our services rely heavily on it or transactions. Problem is that even the simplest app's I've built are more complex than this is helping with. Now that I'm migrating back to JPA the JpaTest might be useful.
@scoff7032
@scoff7032 8 жыл бұрын
Nyan cat :D
SpringOne Platform 2016 Keynote - Reactive Spring
33:12
SpringDeveloper
Рет қаралды 16 М.
Spring MVC 4 Web Apps - Rossen Stoyanchev
28:51
SpringDeveloper
Рет қаралды 7 М.
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 1,2 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,3 МЛН
Sigma Girl Pizza #funny #memes #comedy
00:14
CRAZY GREAPA
Рет қаралды 3,7 МЛН
SpringOne Platform 2016 Keynote - Spring and the Circle of Feedback
22:36
SpringOne Platform 2016 Keynote - Spring Framework 5.0
15:05
SpringDeveloper
Рет қаралды 8 М.
Modern Java Component Design with Spring 4.3 - Jüergen Hoeller
1:08:51
SpringDeveloper
Рет қаралды 14 М.
Spring Tips: Bootiful Dashboards
21:57
SpringDeveloper
Рет қаралды 26 М.
Cloud Native Java - Josh Long
1:49:20
SpringDeveloper
Рет қаралды 56 М.
From Imperative To Reactive Web Apps
1:12:32
SpringDeveloper
Рет қаралды 14 М.
Testing Spring Boot Applications - Phil Webb
1:01:31
SpringDeveloper
Рет қаралды 34 М.
Introduction to Spring Data
31:09
SpringDeveloper
Рет қаралды 36 М.
Going Reactive: Building Better Microservices - Rob Harrop
36:27
SpringDeveloper
Рет қаралды 10 М.
Writing your own Spring Boot Starter
46:18
SpringDeveloper
Рет қаралды 14 М.
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 1,2 МЛН