Тёмный

Spring Tips: the road to Spring Boot 3: Spring Framework 6 

SpringDeveloper
Подписаться 203 тыс.
Просмотров 49 тыс.
50% 1

Hi, Spring fans! In this installment, we begin a journey to Spring Boot 3, due end of November, 2022. In this installment, we'll look - at a very high level - at some of the amazing features in Spring Framework 6, which underpins Spring Boot 3.

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@kscd009
@kscd009 Год назад
It'd be really great if you'd use a better quality microphones. The voice sounded really cranky here in an otherwise very informative video.
@razvanspt
@razvanspt Год назад
Maybe u should change your headphones, I didn t hear any type of noise to bother me :)
@abhishar03
@abhishar03 Год назад
I echo the same . Better microphone would help
@DavidParry-Hacker
@DavidParry-Hacker Год назад
@starbuxman what a fantastic video, the effortless right flavor to start the groking even deeper. Thank you sir!
@rameshk2338
@rameshk2338 Год назад
🎉 thank you josh.
@chandragie
@chandragie Год назад
I see similarities between FeignClient and HttpServiceProxyFactory... It's a bit more complicated to do the config here tho
@AdamWojszczyk
@AdamWojszczyk Год назад
Spring way ;)
@Boss-gr4jw
@Boss-gr4jw Год назад
This hint stuff needs to disappear before it can be seriously used in production. I feel like people would spend half of their time solving a business problem and other half of their time figuring out if the library or framework uses reflection or proxies. Now you end up testing your app in non-native environment and you are required to rerun tests against native builds as well. I would rather accept the high memory footprint until this thing gets more mature.
@vanivari359
@vanivari359 Год назад
Well, yeah, might skip that too for a while, but after a year in a Quarkus project and analyzing the Quarkus source code - that stuff is in there too, but buried in hundreds of thousands of "extension" code lines, which is buggy as hell even if you don't use graal. 20k lines alone necessary to get Hibernate running and it has still so many limitations. I can't wait to get back to the Spring world where i don't have to maintain a long list of open issues, bugs and workarounds. That whole native image stuff feels not mature enough for more complex applications, especially if your teams are "young and motivated". But memory is expensive so at the end this is inevitable i guess.
@accountnew7030
@accountnew7030 Год назад
honestly, I say fuck spring at this point. we need a more fresh framework done properly this time. It becomes too messy with every new feature
@slcooIj
@slcooIj Год назад
Great and quick overview, thx. The hints for native compilation have 'grey hair potential' ;) at the current state. Maybe this can be improved over time. I'm sure it is not that easy to be 100% safe in case of an auto determination. Let's hope the best :)
@9703080696
@9703080696 Год назад
Awesome explanation 👍
@yadigarcaliskan6453
@yadigarcaliskan6453 Год назад
I don’t like such a framework which are trying to solve every problem on a very complicated way
@ogyct
@ogyct Год назад
Kinda sad, we have to do all that dark magic to make native images work. To me it seems, like developers made a huge amount of work, to create JVM for which you "write once, works everywhere". And now we reverse engineer to go back to the native image.
@ChrisB_Crisps
@ChrisB_Crisps Год назад
Good news, you can still use the JVM. Show support and use the option you like the most
@siddanthtantry6609
@siddanthtantry6609 Год назад
what IDE theme is used here?
@cywang637
@cywang637 Год назад
May i ask your IDE fonts, it's looks very comfortable
@amberverma4428
@amberverma4428 Год назад
Looks like Dark Mode on IntelliJ
@Jamie-jt3pq
@Jamie-jt3pq Год назад
The font is Jetbrains Mono
@57skies
@57skies Год назад
The @GetExchange example does not work anymore, there were changes were methods were removed. Also, explaining how to actually test those using WebTestClient would have been very appreciated.
@ashikuzzamandev
@ashikuzzamandev Год назад
I have a question at 2:10 minutes. You always choose the latest JDK version but why 17 for this video? :D
@ChrisB_Crisps
@ChrisB_Crisps Год назад
Maybe because is one of the main features that they want to make clear on what is new in boot 3
@ashikuzzamandev
@ashikuzzamandev Год назад
@@ChrisB_Crisps I don't think so. You can check some other videos where they choose 18. They are not choosing 19 because they need to talk about virtual threading if they do so. They don't want to talk about virtual threading. That's my point.
@حامدنیکبخت-ن5ع
@حامدنیکبخت-ن5ع Год назад
please add video from Spring Batch for read Excel file and Process by microservice save in multi table in database , mapping request and response
@rameshk2338
@rameshk2338 Год назад
like wise open feign client expect here
@ornelfranck
@ornelfranck Год назад
This is why we test in production!!!😅😂😂😂🤣😁
@Adielmo22
@Adielmo22 Год назад
is this project on github?
@Michaeljamieson10
@Michaeljamieson10 Год назад
awesome
@joachimdietl6737
@joachimdietl6737 Год назад
yeah ! its there!
@mohcina8213
@mohcina8213 Год назад
Thank you :)
@郑鈊
@郑鈊 Год назад
Do you have a code address
@benaya6
@benaya6 Год назад
is there a way to load a file as a classpath resource? so far, nothing seems to work
@Ricardo-nt7pd
@Ricardo-nt7pd Год назад
Of curse is possible to read files from the classpath, you don't need any new feature from Spring or any other framework. Every time you build and package a Java application you get a .jar archive (maybe a .war or .ear) which is just a zip file with all your code, resources and some metadata. So any resources that are packaged when the application is build live inside the resulting compressed archive, which means that you cannot access to any resources inside using the File System. Supposing that you have a Spring Boot application with the standard maven file system structure and you have some files in the classpath, specifically in any path inside the "src/main/resources" directory tree, then you can access to this files ONLY as InputStream resources using the ContextClassLoader. your-project | |-----src/main/java/ | |-----src/main/resources | |-----application.properties |-----someOtherFile.txt // ... String localPath = "someOtherFile.txt"; InputStream inputStream = Thread .currentThread() .getContextClassLoader() .getResourceAsStream(localPath); new BufferedReader(new InputStreamReader(inputStream)) .lines() .forEach(System.out::println); // ...
@benaya6
@benaya6 Год назад
@@Ricardo-nt7pd thanks for the detailed answer! however, I was talking about native-image compilation, this approach didn't work in this case
@coffeesoftware
@coffeesoftware Год назад
Hi - you can register a hint using the same RuntimeHintsRegistrar mechanism i showed in the video: RuntimeHints#reflection().registerResource(new ClassPathResource(“/foo.txt”));
@shakthifuture
@shakthifuture Год назад
What is the ide you are using?
@clemitru
@clemitru Год назад
It's IntellijIDEA
@facu454
@facu454 Год назад
JetBrains Fleet
@USONOFAV
@USONOFAV Год назад
Are Spring folks aware that spring boot 2.7.3+ is having issue in Pivotal Cloud Foundry deployment?
@michaelminella
@michaelminella Год назад
Please be sure to file an issue on Github for the appropriate project if you have any issues!
@JamesStansell
@JamesStansell Год назад
What issue is that? My team built some new apps using Spring Boot 2.7.2 which I expect to upgrade before long.
@mihirsawant8817
@mihirsawant8817 Год назад
Hi, it's great, but is ServiceProxyFactory substitution of FeignClient and will FeignClient supported in Spring Framework 6.0 ?
@mihirsawant8817
@mihirsawant8817 Год назад
Also I need to ask that in prod do we need to explicitly name our controller advice classes this big..?
Далее
Spring Tips: go fast with Spring Boot 3.1
17:58
Просмотров 54 тыс.
Вопрос Ребром - Серго
43:16
Просмотров 1,5 млн
Iran launches wave of missiles at Israel
00:43
Просмотров 934 тыс.
🦊🔥
00:16
Просмотров 396 тыс.
From Spring Framework 5.3 to 6.0
25:34
Просмотров 21 тыс.
Introducing Spring Boot 3.0
41:41
Просмотров 20 тыс.
Spring Tips: Kubernetes Native Java
29:23
Просмотров 34 тыс.
Spring Tips: @Controllers: give HTTP a REST
19:40
Просмотров 19 тыс.
What's new in Spring Boot 2.6
1:06:40
Просмотров 66 тыс.
Keynote: Introducing Spring Framework 6
1:03:04
Просмотров 37 тыс.
Spring Tips: Multitenant JDBC
38:38
Просмотров 32 тыс.
Spring Tips: Spring Boot & Apache Kafka
42:59
Просмотров 25 тыс.
Spring Tips: Spring and Kubernetes, Redux (2022)
44:13
Spring Tips: One-Time Tokens in Spring Security 6.4
9:00