![Maciej Walkowiak 🍃 Spring Academy](/img/default-banner.jpg)
- Видео 25
- Просмотров 533 787
Maciej Walkowiak 🍃 Spring Academy
Германия
Добавлен 16 апр 2018
Videos about Spring, Java, Kotlin and Cloud.
- improve your Java & Spring programming skills
- learn how to use Spring and it's components
- stay in touch with changes in Spring ecosystem
- get to know people from community
- improve your Java & Spring programming skills
- learn how to use Spring and it's components
- stay in touch with changes in Spring ecosystem
- get to know people from community
🚀 New in Spring Framework 6.1: RestClient
#springboot #springframework
Spring Framework 6.1 introduces a new way to interact with HTTP services: RestClient.
In this video you will learn:
- why a new HTTP client in Spring stack
- how RestClient is different from RestTemplate and WebClient
- how to use RestClient with Spring Boot
- how to use RestClient with declarative HTTP interfaces introduced in Spring Framework 6
Follow me on twitter for more Java & Spring updates: maciejwalkowiak
0:00 Why do we need a new HTTP client?
1:45 RestClient in action
8:03 RestClient with declarative HTTP interfaces
10:32 Things you should know
11:57 Will I use RestClient in new project?
Spring Framework 6.1 introduces a new way to interact with HTTP services: RestClient.
In this video you will learn:
- why a new HTTP client in Spring stack
- how RestClient is different from RestTemplate and WebClient
- how to use RestClient with Spring Boot
- how to use RestClient with declarative HTTP interfaces introduced in Spring Framework 6
Follow me on twitter for more Java & Spring updates: maciejwalkowiak
0:00 Why do we need a new HTTP client?
1:45 RestClient in action
8:03 RestClient with declarative HTTP interfaces
10:32 Things you should know
11:57 Will I use RestClient in new project?
Просмотров: 10 103
Видео
🍃 Introduction to Spring GraphQL with Spring Boot
Просмотров 59 тыс.2 года назад
Spring Fundamentals 👉 springacademy.io Follow on Twitter for more Spring content 👉 maciejwalkowiak This video is a step by step tutorial showing how to build GraphQL API with Spring Boot and Spring Boot GraphQL. I'll appreciate if you give it 👍 and share with your colleagues!
🚀 New in Spring Framework 6: HTTP Interfaces
Просмотров 52 тыс.2 года назад
Spring Fundamentals 👉 springacademy.io Follow on Twitter for more Spring content 👉 maciejwalkowiak In this video we will take a look at HTTP Interfaces - a brand new feature added to Spring Framework 6 that lets us declare HTTP clients as an annotated interface and let Spring generate the implementation for us: docs.spring.io/spring-framework/docs/6.0.0-SNAPSHOT/reference/html/integ...
Spring Puzzle - The one thing you must know about Hibernate & JPA!
Просмотров 4,1 тыс.3 года назад
Spring Fundamentals 👉 springacademy.io Correct answer and explanation 👉 ruclips.net/video/wfUTCTr4_c0/видео.html Follow on Twitter for more puzzles & Spring content 👉 maciejwalkowiak 0:00 - What is going on here? 0:36 - The Puzzle 2:24 - The answer & explanation 6:19 - Spring Fundamentals Course announcement
⭐ Bootiful Exception Reporting with Sentry & Spring Boot
Просмотров 11 тыс.3 года назад
0:00 - The problem with error reporting 0:54 - What is Sentry? 3:49 - Sentry Spring Boot Integration 7:11 - Attaching user information to Sentry events 8:30 - Customizing Sentry event processing pipeline 9:00 - Logback integration 11:20 - Assigning issues to releases automatically 12:17 - Outro - Sentry: sentry.io/ - Sentry Java SDK: github.com/getsentry/sentry-java - Sentry Spring Boot Integra...
🍃 How to log SQL queries in Spring Boot?
Просмотров 6 тыс.3 года назад
Two ways to log SQL statements in Spring Boot application 0:15 - Using built-in logging groups 2:48 - Using Datasource Proxy library Check sample project here: github.com/spring-academy/spring-samples/tree/master/logging-sql-datasource-proxy Other useful links: - github.com/ttddyy/datasource-proxy - github.com/gavlyukovskiy/spring-boot-data-source-decorator ⭐️ Follow me on twitter m...
⚡️ How to enable Spring profile on ALL integration tests
Просмотров 4,1 тыс.3 года назад
Quick tip on how to activate Spring profile on integration tests without repeating yourself all the time. Solutions for both Maven and Gradle. I messed up a bit positioning on my video circle when showing Gradle so here is the snippet that has to be added to build.gradle: test { systemProperty "spring.profiles.active", "test" } ⭐️ Follow me on twitter maciejwalkowiak In my channel I...
🍃 Spring Boot - Building RESTful Web Service 🚀 - Tutorial for Beginners
Просмотров 40 тыс.3 года назад
Beginner friendly tutorial on how to build first Spring Boot application exposing a RESTful endpoint. We are following together an official Spring guide spring.io/guides/gs/rest-service/ with an explanation what certain technologies and annotations do. 0:00 - Introduction 0:27 - Spring Initializr - start.spring.io 8:53 - Explanation of generated files 11:35 - Creating resource representation cl...
🍃 Spring Boot & AWS RDS with Spring Cloud AWS
Просмотров 13 тыс.4 года назад
Wow this video got quite long! It cover lots of things and you'll find it especially valuable if you are new to AWS RDS or if you have never used Spring Cloud AWS to connect to RDS. Follow me on twitter for more tips, links, articles and just random thoughts about Spring and Java maciejwalkowiak 😉 0:00 What this video is about? 0:53 What is AWS RDS? 2:27 How to create PostgreSQL ins...
Getting started with Spring Cloud AWS
Просмотров 11 тыс.4 года назад
AWS CLI installation: docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html Source Code: github.com/spring-academy/spring-samples/tree/master/spring-cloud-aws-getting-started ...aaaand follow me on twitter maciejwalkowiak 😉
Database password rotation with AWS Secrets Manager and Spring Boot
Просмотров 28 тыс.5 лет назад
Depending on how serious you are about security you may want to consider setting up password rotation for databases. If you're on AWS - they've got you covered! AWS Secrets Manager comes with support for automatic password rotation for RDS (and other database services). In this video I am showing how to set up RDS instance, how to set up password rotation for it using AWS Secrets Manager and ho...
Setting up AWS v2 with Spring Boot and Localstack
Просмотров 21 тыс.5 лет назад
How to set up new AWS SDK with Spring Boot? This video shows not only how use AWS SDK but also how to use Localstack and TestContainers to write integration tests that do not touch real AWS environment. In my channel I discuss things I believe are relevant to either Java & Spring beginners, or advanced developers who want to stay up to date. Feedback is very much welcome! and shhhh follow me on...
⚡ Spring Boot @ConfigurationProperties Tips & Tricks
Просмотров 30 тыс.5 лет назад
Video explaining how to validate @ConfigurationProperties annotated classes, how to get nice autocompletion in the IDE and how to reuse existing configuration properties classes multiple times. For validating @ConfigurationProperties with Kotlin check maciejwalkowiak.com/validating-configuration-properties/ In my channel I discuss things I believe are relevant to either Java & Spring beginners,...
⏰ Spring Boot @Scheduled Crash Course
Просмотров 60 тыс.5 лет назад
For testing cron expressions check crontab.guru/ and shhhh follow me on twitter maciejwalkowiak 😎 In my channel I discuss things I believe are relevant to either Java & Spring beginners, or advanced developers who want to stay up to date. Feedback is very much welcome!
Running Spring Boot Application on Heroku
Просмотров 66 тыс.5 лет назад
Once you finished watching check out these links: - www.heroku.com/ - www.heroku.com/pricing 💰 and shhhh follow me on twitter maciejwalkowiak 😎 Other PaaS solutions worth checking out: - run.pivotal.io/ 🍃 - cloud.google.com/appengine/ - aws.amazon.com/elasticbeanstalk/ - .. I bet Azure has also an equivalent but I haven't used it 🤷♂️ In my channel I discuss things I believe are rel...
Spring Data JDBC - Many to Many Relationships
Просмотров 17 тыс.5 лет назад
Spring Data JDBC - Many to Many Relationships
Developing reactive application with Spring WebFlux and Spring Data Redis - Part 2 of 2
Просмотров 9 тыс.5 лет назад
Developing reactive application with Spring WebFlux and Spring Data Redis - Part 2 of 2
Developing reactive application with Spring WebFlux and Spring Data Redis - Part 1 of 2
Просмотров 16 тыс.5 лет назад
Developing reactive application with Spring WebFlux and Spring Data Redis - Part 1 of 2
How to setup Spring Boot 2 with JUnit 5
Просмотров 3,9 тыс.5 лет назад
How to setup Spring Boot 2 with JUnit 5
Spring Data JDBC - One to One & One to Many Relationships
Просмотров 21 тыс.5 лет назад
Spring Data JDBC - One to One & One to Many Relationships
Best way to use multiple Java versions | Q&A
Просмотров 8 тыс.5 лет назад
Best way to use multiple Java versions | Q&A
ruclips.net/video/OxWIaGy6Ovw/видео.htmlsi=3qZqukMzOZZo7hfQ
How could i set it up to set the base url and auth at runtime?
Any one know how to do in python using fast api?
Love It, where is the next part?
You should provide at least a Github Repository, specially when dont show the AuthorRepository
awesome. well explained in details. thanks a lot
Was the Follow-up video with Query DSL ever posted?
In local env like compose or local network read replicas downgrades perfomance, so with single db perfomance is higer so i make spring app with two datasources for reads and writes i tried up to 12 instances of app and 12 instances of postgres, and tried different configs 12X12 one replica per instance, ot 1X4 and other, but no perfomance improvement used haproxy and pgpool for load balancing and RW segregation still single DB perfoms faster in common LAN or compose
based
How to make 1 book with multiple authors?
thanks, you make very easy !
I am trying to setup Sentry in a application that is using spring boot on version 2.2.2, according to the documentation, it should work just fine after version 2.1.0. But I can't make sentry work as easily as you did in the video, I had to manually use Sentry.captureException() on my exceptions so they could be sent to my sentry dashboard. Also, even using the sentry.traces-sample-rate property, I can't make my transaction be logged in the Performance dashboard of sentry, could you give me some insight on what I should look for/try out to set this up correctly?
cool video)
Thanks and where's the repo?
What if need to use auth
dzięki wielkie za materiał, tego właśnie szukałem!!!
Still waiting for the query DSL video to understand this concept completely. Hope you put it out soon.
great explanation Maciej ..One thing I would like to know is using aws-secretsmanager-jdbc library if the application is using old password and now if secrets rotation happens how application works without restarting it ? I mean how application establishes the connection with new password without restarting ?
very a useful video, Maciej
I don't find it easy to test with mockrestserviceserver: there is a method bindTo to bind the builder to the server, but if you declare as a bean the restclient then you have to mock it too. On the other hand, if you declare as a bean a second builder with some customization, you have to build the restclient for every request
Congratulations! Great content 👏
Terrific content. I was looking for Graphql and spring simple demo and this was by far the best one, thank you for sharing this
Thank you so much for your content
Great Video! Just a query for my use case, if I am using secrets manager for db credential how can I make connection for read and write replica using the aws-cloud-sdk dependency because I will not be able to add the details in properties file, Can we acheive this using config or bean?
Please provide the code
Wow
Good explanation thanks.
Hello, Can you please share your example repo (spring-boot-secrets-manager-jdbc-demo) with us ? Thank you for gr8 session
it is a pitty that we need to create a bean TodoClient manually instaead using an annotation on the top of interface, like @FeignClient(url="some.base.url")
this is not going to work with real project
this video is 3 year ago but still it worth !!!
Thanks, it is nice material. Good overall overview without annoying details.
How to configure RestClient with OAuth2 and call protected endpoints
Briefly and understandable, thanks! Important note that by default RestClient uses Java HttpClient introduced in Java 11
TKS BRO AMAZING
You explain very well the topics, could you please make more tutorials. thank you
It's look like Spring Cloud OpenFeign. Is there any difference between this two ? The usage of RestClient over Feign is now recommended by Spring ?
That's so nice! The declarative option using interface is very useful.
But how can we manage errors? For example: external api returns 404. How can I handle that api response body to return that exact same message using my own ApiErrorDTO?
More like a feign set with fixed lookup
Where is the next video, Man?
I really love this! did you create the following video? Please let me know cuz I couldn't find it in the list!
I subscribed❤
nice
Thanks for the video. I would like to understand how to enable micrometer tracing with RestClient? using RestClient.Builder when creating the bean and using that is not propagating the traceparent header to other api service.
Nice, using the interfaces will make things much cleaner.
Indeed!
When are you going to upload next part of this video? I am waiting.
what about FeignClient is it stil good
loved how you gave really good and concise examples and explanation. Thanks for making the video!
Thank you for such a nice feedback! I'm super happy you found it useful!
Awesome new component! I was messing around with it but i didn't get working the RestClient with OAuth2 client_credentials, it could be that spring security support is currently a WIP? Excelent channel BTW!!
Likely. It's still few months before the RC so I'm pretty sure they'll fill the gaps