Building a new application with Spring Boot 3.2
HTML-код
- Опубликовано: 26 ноя 2023
- This is our first look at the newly released Spring Boot 3.2. In this tutorial we will use Spring Framework 6.1 and Spring Boot 3.2 to build out a new application. This application will talk to an external API using the new Rest Client.
🔗Resources & Links mentioned in this video:
GitHub Repo: github.com/danvega/newsletter
tldraw: makereal.tldraw.com/
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/danvega
LinkedIn: / danvega
Newsletter: www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️ - Наука
Great cast Dan. A video about observability and OTEL metrics, trace and logs would be awesome.
I agree.
+1
Second that!
it'd be great
Please dan launch your new course we all are eagerly waiting for that course ❤🎉❤
I can put together videos for RUclips but I won't be releasing any new courses. If you're interested in a learning platform around Spring I suggest checking out spring.academy
Best teacher, I wish you good luck, and thank you for the free content
Thank you! 😃
Thanks Dan for always keeping us on top of the latest. Hope you have a great New Year 🎉
Well done, good job🎉 very clear and nice rest client feature
Great video. Maybe on top of what is written here, you could have used the new "Open Feign" like syntax as well - that you showed in the other RestClient video. Keep up the good work!
I'm not sure what syntax you're referring to? Can you be more specific?
Thanks for the clear explanation and the great videos. Is it now advisable to use a full spring JPA implementation for a user (saved in a database) instead of defining memory user for spring security during dev, when using spring boot 3.2? This is also because I memory user is deprecated?
If this app is going to production absolutely. If you're just building a demo or an MVP it's fine to start with the in-memory version and improve it later on.
Could you tell me what the benifit is using RestClient rather then WebClient in Spring-mvc?
Thanks for tour vídeos. I'm stsrt learning Spring Boot but I don't have a road map.
You are welcome!
i didn't get the name of the tool your used in generating the front end
Can you please make one video on spring boot 3.2.0 with spring security ....
how did the secrets.yml wire in your env variables for you in application.yml, any link for reading more about that? :)
Dan, did you have to change that line to look like api-key: ${YOUR_API_KEY} ?
Alex, in the Core Features section of the spring boot docs you will find spring.config.import under External Application Properties
The way I understood it. In your secret yaml file, add in a yaml format the convertkit: api_key: YOUR_REAL_KEY and leave the api_key: empty in the application.yaml
262nd..Thanks Dan
is there a RestClient version of TestRestTemplate?
I need to dive into this some more. I know there were some discussions around this on GitHub. Will this work for you?
github.com/spring-projects/spring-boot/commit/ff99de49c4360b6c63e12494adf67c87fa7b601d
@@DanVega ther is a
--> org.springframework.test.web.reactive.server.WebTestClient
--> org.springframework.boot.test.web.client.TestRestTemplate
but the RestTestClient is missing
the is unfortunately a annotation with this name org.springframework.boot.test.autoconfigure.web.client.RestClientTest
but is something totally different
Htmx?