- Видео 78
- Просмотров 20 560
Gyan Darpan
Индия
Добавлен 15 янв 2024
Welcome to Gyan Darpan - The Mirror of Knowledge! 🌟
At Gyan Darpan, we believe that knowledge is the key to enlightenment. Our channel is a reflection of the endless possibilities and insights that the world of learning has to offer. We are dedicated to bringing you curated content that sparks curiosity, fosters understanding, and encourages continuous exploration.
At Gyan Darpan, we believe that knowledge is the key to enlightenment. Our channel is a reflection of the endless possibilities and insights that the world of learning has to offer. We are dedicated to bringing you curated content that sparks curiosity, fosters understanding, and encourages continuous exploration.
72 Managing Multiple Configurations with a Single @ConfigurationProperties
Managing Multiple Configurations with a Single @ConfigurationProperties
GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Managing%20Multiple%20Configurations%20with%20a%20Single%20%40ConfigurationProperties/employee-service
#SpringBoot #ConfigurationProperties #SpringBootTutorial #JavaDevelopment #SpringBootConfig #SpringFramework #JavaProgramming #BackendDevelopment #SpringBootTips #DynamicConfiguration
GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Managing%20Multiple%20Configurations%20with%20a%20Single%20%40ConfigurationProperties/employee-service
#SpringBoot #ConfigurationProperties #SpringBootTutorial #JavaDevelopment #SpringBootConfig #SpringFramework #JavaProgramming #BackendDevelopment #SpringBootTips #DynamicConfiguration
Просмотров: 21
Видео
71 Nested Classes with @ConfigurationProperties
Просмотров 16День назад
Nested Classes with @ConfigurationProperties In this tutorial, we will learn how to simplify configuration management in Spring Boot by using nested classes with the @ConfigurationProperties annotation. You will see how to load complex configurations, including nested objects, directly from your properties or YAML files. By the end of this video, you'll be able to manage complex configurations ...
70 Simplify List Configuration with @ConfigurationProperties
Просмотров 10День назад
Simplify List Configuration with @ConfigurationProperties GitHiub : github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Simplify List Configuration with @ConfigurationProperties/employee-service #SpringBoot #ConfigurationProperties #SpringBootTutorial #JavaDevelopment #SpringFramework #LearnSpringBoot #BackendDevelopment #TechTutorial #SpringBootExplained #SoftwareDevelopment #SpringBootConf...
69 Simplifying Spring Boot Configuration Management with @ConfigurationProperties
Просмотров 61День назад
Simplifying Spring Boot Configuration Management with @ConfigurationProperties Github : github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Simplifying Spring Boot Configuration Management with @ConfigurationProperties #SpringBoot #ConfigurationProperties #JavaDevelopment #SpringFramework #BackendDevelopment #JavaProgramming #SpringBootTutorial #LearnSpringBoot #CodingTutorial #SoftwareDevel...
68 How to Configure Spring Boot with application yaml - A Step by Step Guide
Просмотров 22День назад
How to Configure Spring Boot with application yaml - A Step by Step Guide GitHub : github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/How to Configure Spring Boot with application.yaml – A Step-by-Step Guide/employee-service #SpringBoot #SpringBootTutorial #ApplicationYaml #SpringFramework #JavaDevelopment #BackendDevelopment #JavaProgramming #TechTutorial #SpringBootConfiguration #CodingFo...
67 Injecting List Properties from Application Properties File using @Value in Spring Boot
Просмотров 16День назад
Injecting List Properties from Application Properties File using @Value in Spring Boot GitHub :github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Injecting List Properties from Application Properties File using @Value in Spring Boot/employee-service #SpringBoot #SpringFramework #JavaDevelopment #ApplicationProperties #PropertyInjection #SpringBootTutorial #ValueAnnotation #JavaProgramming #...
66 How to Load Custom Properties in Spring Boot using @Value
Просмотров 11День назад
How to Load Custom Properties in Spring Boot using @Value GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/How to Load Custom Properties in Spring Boot using @Value/employee-service #SpringBoot #SpringFramework #JavaDevelopment #SpringBootTutorial #CustomProperties #JavaProgramming #SpringBootBeginner #DependencyInjection #SpringBootConfiguration #LearnSpringBoot
65 Dynamic Logging with Log4j2 Using Environment Variables in YAML Configuration
Просмотров 3721 день назад
Dynamic Logging with Log4j2 Using Environment Variables in YAML Configuration GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Dynamic Logging with Log4j2_ Using Environment Variables in YAML Configuration/employee-service In this tutorial, we’ll walk through how to configure Log4j2 with YAML and use environment variables for dynamic logging. This approach makes your logging confi...
64 Step by Step Guide to Custom Resolvers in JsonTemplateLayout
Просмотров 1321 день назад
Step by Step Guide to Custom Resolvers in JsonTemplateLayout GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Step-by-Step Guide to Custom Resolvers in JsonTemplateLayout/employee-service #SpringBoot #JsonTemplateLayout #CustomResolvers #SpringBootTutorial #JavaDevelopment #SpringFramework #SpringBoot3 #BackendDevelopment #SpringBootTips #TechTutorials #SpringBootForBeginners #Jav...
63 How to Log Exception Stack Traces in JSON Using Log4j2
Просмотров 1321 день назад
How to Log Exception Stack Traces in JSON Using Log4j2 Github: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/How to Log Exception Stack Traces in JSON Using Log4j2/employee-service #JavaProgramming #ExceptionHandling #JSONFormat #StackTrace #JavaTutorial #ErrorLogging #SpringBootTutorial #SpringBootLogging #DebuggingTips #JavaLogging #SpringBoot3 #SpringFramework
62 Unlocking Custom JSON Logging in Log4j2 with JsonTemplateLayout
Просмотров 2621 день назад
Unlocking Custom JSON Logging in Log4j2 with JsonTemplateLayout GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Unlocking Custom JSON Logging in Log4j2 with JsonTemplateLayout/employee-service #SpringBootTutorial #SpringBoot #JavaDevelopment #SpringFramework #SpringBoot3 #SpringBootBeginner #SpringBootGuide #SpringBootTutorialForBeginners #SpringBootDevelopment #JavaFramework #Lo...
61 Mapped Diagnostic Context MDC
Просмотров 2321 день назад
Mapped Diagnostic Context MDC Github: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Mapped Diagnostic Context (MDC)/employee-service #SpringBoot #MDC #MappedDiagnosticContext #SpringBootTutorial #JavaLogging #Microservices #ContextualLogging #DebuggingTools #SpringCloud #DistributedTracing
60 Rolling File Appender in Spring Boot Step by Step Tutorial
Просмотров 1321 день назад
Rolling File Appender in Spring Boot Step by Step Tutorial GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/Rolling File Appender in Spring Boot_ Step-by-Step Tutorial/employee-service #SpringBoot #Log4j2 #Logging #RollingFileAppender #LogManagement #JavaTutorial #SpringBootLogging #LogRotation #JavaDevelopment #SpringBootTutorial
59 How to Configure Log4j2 in Spring Boot 3 with YAML Step by Step
Просмотров 1821 день назад
How to Configure Log4j2 in Spring Boot 3 with YAML Step by Step GitHub: github.com/gyandarpan22/Spring-Boot-Tutorial/tree/main/How to Configure Log4j2 in Spring Boot 3 with YAML_ Step-by-Step/employee-service #SpringBoot #Log4j2 #Logging #SpringBootTutorial #Log4jConsoleAppender #SpringBootLogging #JavaLogging #SpringBootTips #Log4jSetup #LoggingTutorial #SpringBootLoggingTutorial
58 Understanding DispatcherServlet in Spring Boot
Просмотров 10828 дней назад
Understanding DispatcherServlet in Spring Boot #SpringBootTutorial #DispatcherServlet #SpringBoot3 #JavaProgramming #RestAPI #BackendDevelopment #SpringFramework #JavaTutorial #FullStackDeveloper #SpringBootExplained
57 Learn File Download in Spring Boot RestTemplate & WebClient Guide
Просмотров 1728 дней назад
57 Learn File Download in Spring Boot RestTemplate & WebClient Guide
56 Uploading Files with RestTemplate and WebClient
Просмотров 2828 дней назад
56 Uploading Files with RestTemplate and WebClient
55 Spring Boot File Download API Step by Step Guide
Просмотров 399Месяц назад
55 Spring Boot File Download API Step by Step Guide
54 Complete Guide to File Uploads in Spring Boot
Просмотров 17Месяц назад
54 Complete Guide to File Uploads in Spring Boot
53 WebClient Connection Pooling and Timeouts
Просмотров 47Месяц назад
53 WebClient Connection Pooling and Timeouts
51 How to Retrieve and Manage HTTP Headers in Spring Boot
Просмотров 44Месяц назад
51 How to Retrieve and Manage HTTP Headers in Spring Boot
50 Connection Pooling in Spring Boot with Custom Configurations
Просмотров 76Месяц назад
50 Connection Pooling in Spring Boot with Custom Configurations
49 How to Send Request Body Using RestTemplate in Java
Просмотров 373 месяца назад
49 How to Send Request Body Using RestTemplate in Java
48 Passing Path Variables with RestTemplate
Просмотров 644 месяца назад
48 Passing Path Variables with RestTemplate
47 How to Pass Headers, Accept, and ContentType with RestTemplate in Spring Boot
Просмотров 1325 месяцев назад
47 How to Pass Headers, Accept, and ContentType with RestTemplate in Spring Boot
46 How to Pass Query Parameters in RestTemplate Step by Step Guide
Просмотров 1425 месяцев назад
46 How to Pass Query Parameters in RestTemplate Step by Step Guide
45 Creating a REST Client with RestTemplate
Просмотров 455 месяцев назад
45 Creating a REST Client with RestTemplate
44 Configuring Context Path and Port in Spring Boot REST API
Просмотров 476 месяцев назад
44 Configuring Context Path and Port in Spring Boot REST API
43 Building Custom Message Converters in Spring Boot
Просмотров 1066 месяцев назад
43 Building Custom Message Converters in Spring Boot
thank you! Do you have any config advice for when sending HTTPS requests/using TLS? I have TLS certs configured and SSL handshakes are successful, however, with this config using HTTPS, I get SocketTimeoutException: read timed out every time when it's waiting to read https response, even though I get the 200 https response with expected data...
The same configuration works well for both HTTP and HTTPS requests-no additional changes are required if your certificate and trust configurations are properly set up. However, when sending HTTPS requests, ensure: 1. A valid SSL/TLS certificate is installed on the server and trusted by your Java application. 2. The certificate is not expired, revoked, or misconfigured. If you’re still encountering a SocketTimeoutException: read timed out, check the following: 1. Timeout settings: Verify and configure appropriate connection and read timeouts in your Rest Client. 2. Server response time: Ensure the server can process the request and respond within the configured timeout period. If the issue persists, please share your sample RestTemplate/WebClient configuration
If you want to bypass certificate validation for testing or development purposes (not recommended for production), you can configure RestTemplate to trust all certificates. Bypassing certificate validation is insecure and should only be done in controlled environments like testing or debugging. Never use this in production. SSLContext sslContext = SSLContextBuilder.create() .loadTrustMaterial((X509Certificate[] chain, String authType) -> true) // Trust all certificates .build(); SSLConnectionSocketFactory sslSocketFactory = new SSLConnectionSocketFactory( sslContext, NoopHostnameVerifier.INSTANCE); Registry<ConnectionSocketFactory> socketFactoryRegistry = RegistryBuilder.<ConnectionSocketFactory>create() .register("http", PlainConnectionSocketFactory.INSTANCE) .register("https", sslSocketFactory) .build(); PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager(socketFactoryRegistry); not recommended to use above code in production environment
really helpful.thanks
I think no one watches my videos 😅
@@GyanDarpan22 dont give up. it takes some time to ppl discover good stuff
thank you so much. you have no idea what you have done. you solved my 3-hour-long problem.
that's not the most suitable way to implement pagination, when you call tolist in first section, you're loading in memory all the information and then you apply the filter, imagine what happens if you have one or five million of result, you load all information and you apply the filter later, the best way is to apply the filter before to call tolist, prepare the setence before that
Thank you for your insightful feedback. You are absolutely correct-when dealing with large datasets, such as 1 million or even 5 million records, it's best to store the data in a database and utilize database filtering for pagination. In this tutorial, we've kept the data in-memory to keep the focus on the core logic, as we haven't introduced database integration yet. As we move forward and incorporate database access, we will indeed leverage the power of database filtering and pagination to ensure efficient data management and retrieval. Your input is greatly appreciated and will help improve the upcoming content!
@@GyanDarpan22 don't worry it's just a feedback to improve, i like this type of content and you do a great job explaining
*promo sm* 😜
Nice share. I think you will be interested in smzeus!!!
If you're using IntelliJ for the first time, upon opening the application, you'll encounter the "New Project" and "Open" options. Click on "Open", and then follow the steps mentioned in the tutorial.