Master Spring boot profiles - Properties Vs YML | spring boot tutorial for beginners with examples

Опубликовано: 06 Октябрь 2024
на канале: Selenium Express
37,764
787

In this lesson, we will learn spring profiles with spring boot. Spring boot profiles makes your spring app highly configurable and having an understanding on spring profiles surely helps. Today we will not only cover this topic in your java interview / spring interview prospective, also I will make sure that you have your understanding clear on this concept so that you can use it in real world spring application.


Time stamp :
00:00:00 - Introduction
00:04:26 - Writing some spring beans
00:13:21 - Introducing @profile
00:14:41 - Configuring spring profile in application.properties file
00:17:01 - using @profile with @Bean
00:23:24- loading sample datasource properties from an external properties file in spring boot
00:31:12 - uses of @PropertySource and @value
00:38:28 - creating profiles specific properties files(for QA/Prod/Dev )
00:45:46 - Writing multiple profiles / creating profiles specific properties files (Theory)
00:54:24 - Controlling profiles through environment variables / command line argument
00:58:31 - Understand the Priority[ application.properties Vs profiles vs command line argument vs environment variables ]
01:17:01 - working with YML files in spring boot (properties file vs yml file)
01:28:15 - Joining multiple YML’s (profiles) into one YML




#springboot #spring #springprofiles #seleniumexpress


LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
   • Java interview questions and answers ...  


Watch Spring boot Hot topics
   • @Reposicotry Vs @Service | Spring Boo...  


Java Interview / Question and Answer series
   • Java collections interview questions ...  


Explain spring Bean Lifecycle Q4.how you will call the @Predestory marked methods in the standalone application.
   • REAL-TIME: Spring Bean life cycle usi...  


For more free / paid courses visit
www.seleniumexpress.com


spring core
   • Spring framework tutorial for beginne...  


spring mvc
   • Spring MVC course introduction || Und...  


spring mvc intermediate
   • [INTERMEDIATE] Spring MVC Course Prev...  


Spring JDBC
   • Spring JDBC Course Preview || Let’s t...  


spring live project
   • #1 Build and Deploy A Spring Project ...  


SPRING SECURITY COURSE[NEW]
   • Spring Security Course Preview | Lear...  


For more courses visit
https://www.seleniumexpress.com


Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]


you can ping me on my Facebook page
  / seleniumexpress  


Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
  / 187000222361579  


you can ask for support in my website forum
https://www.seleniumexpress.com


Subscribe to my youtube channel


   / @seleniumexpress  


Follow me on Insta
  / selenium_express  


Music :
—————
credits: -
(channel intro)
Adventures by A Himitsu   / a-himitsu  
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox    • A Himitsu - Adventures [Royalty Free ...  
Music provided by Audio Library    • Adventures – A Himitsu (No Copyright ...  


Category :
----------------
spring profiles in spring boot example
spring profiles in spring boot
spring boot interview questions and answers
spring boot interview questions and answers for experienced