Great, 2024 now. I still learn something in 2017 video. Those user/auto config part I never see it in official doc.
@shriduttkothari2 жыл бұрын
One of the great video on SpringBoot
@mason.elmore5 жыл бұрын
Great talk! I recently started working with spring boot professionally and this has demystified a lot of the "magic" that has confused me as a beginner.
@dawid7891 Жыл бұрын
Nice intriduction to Spring Boot under-the-hood topic.
@fates69223 жыл бұрын
Great talk, made what was going on behind the scenes really clear to me.
@beatricedianatoma8387 Жыл бұрын
Thank you for the insights! Do you guys have a link for the repo?
@itsnaveen0074 жыл бұрын
Great presentation. Lot of things learn regarding auto configuration.
@hariprasads63406 жыл бұрын
Would like to code along and watch so can you please share the code that you are using in this video?
@hariprasads63406 жыл бұрын
Found it.. github.com/snicoll-demos/hello-service-auto-configuration .. In case someone is looking for it
@viktorkhoroshko44896 жыл бұрын
Thanks guys, great job!
@garfieldnate6 жыл бұрын
I hate to say it, but it still seems magical.
@joeljbaker6 жыл бұрын
Agreed! Magic on top of magic
@facub53142 жыл бұрын
How can @ConditionalOnClass be called with a class that could not be in the classpath? Should that library be included as optional in the autoconfiguration module? If not I don't see how the class HelloService could not be there.
@paulfrischknecht39994 жыл бұрын
The first question before even starting to watch this talk: Does it need to be so complex that I need to learn all this? If people start believing your framework does magic, you have probably made it do too much...
@abccbaandy2 ай бұрын
Yes, but in fact, many concept in this video is not for newbie and you probably never use it in your real work.
@tosho_ait5 жыл бұрын
Ah, the good old spring black box hell....
@md7zn4916 жыл бұрын
How did you add your project as a dependency to your another project? I mean did you package it as a ".jar" file from command line and than add it to your local maven repository or something else?
@celebezz4 жыл бұрын
mvn clean install adds jar to your local repository (.m2/repository folder) and you can use it as dependency in other pom.xml
@huangization6 жыл бұрын
Where is the github repo?
@alihashimov45966 жыл бұрын
github.com/snicoll?tab=repositories
@mjduigou2 жыл бұрын
It is not really explained why all of the conditional behaviour is needed or what the benefit is of using conditional versus explicit. It seems like a significant portion of the conditional stuff could be avoided with a savings in complexity and reduction of magic-ness.
@kennethcarvalho3684 Жыл бұрын
They don't want to give all the info
@ddomingo6 жыл бұрын
This would be some much easier to follow if there were some enthusiasm in their voices.
@frostden3 жыл бұрын
I have been bashing my head against refactoring a spring boot project for a week. Finally biting the bullet and digging in to how it works under the hood. The resources for learning this seem absolutely mind numbing. I am so, so bored.
@kotojava6 жыл бұрын
As developer I want to be focused on logic and not keep in mind spring configuration hell. Tons of this garbage annotations which is conflicting with each other. Now if you want to write hello world application using spring you have to read a lot of documentation or solve a lot of annoying exceptions etc. It's better to do not use it at ALL. Hope any other alternative like google juice will kill it sooner or later.
@sillandrix5 жыл бұрын
spring boot is all about that, convention over configuration. once you learn the basics all the rest is about building business logic
@ITech20055 жыл бұрын
If youre using spring to build a hello world application them you're already doing it wrong. Spring is for professionals willing to put the time in to learn it. Once you do that knowledge and experience will last you a lifetime and place you head and shoulders above most Java Developers. My advice is to learn Spring Core & MVC before all of this other crap.
@celebezz4 жыл бұрын
That is simply not true. Generate new app from spring initializer website with only "web" dependency, go to the main class with @SpringBootApplication annotation, add annotation "@RestController" on the class, then add method "@GetMapping("/") public String hw() {return "Hello World";}", run the app (for example mvn spring-boot:run), go to localhost:8080 and that's it, "Hello world" app in 1 youtube comment.
@TroenderTass4 жыл бұрын
If your goal is a hello world, why are you even here? And no, by default you get a hello world app running by just using the spring initializer. Well, you might have to actually find out where to print the hello world, but it should not be that hard, since you only have one class with one main. lol
@vietanhvu485 жыл бұрын
@StartFasterWithITunes is best LOL
@hardryv37192 жыл бұрын
I despised this presentation, persistent use of the term 'opinion' where there was none and then on and on about about how useful that is... extremely confusing. The 'behind scenes' reveal was useful, but the 'conversation fluff' was off-putting.
@kennethcarvalho3684 Жыл бұрын
If you explain this at application level it becomes interesting but at framework it would be dry to most listeners
@josemdz64286 жыл бұрын
Well, this is almost as boring and slow as everything else in Spring.