I just wanted to let you know that this was a very good video. You are a natural for explaining things. keep up the good work!
@guitarDad1002 жыл бұрын
Very helpful. This explains it so very clearly. Thanks for posting.
@narendra99036 жыл бұрын
Can you make a video on how to debug spring boot app?Also on remote debugging
@ashitghosh86025 жыл бұрын
Can you make a video of profile specific to database.
@jane_93182 жыл бұрын
thank you !, you help us a lot with this video
@joydeepsur82036 жыл бұрын
Thank a lot team for this video. It is indeed very useful. Please keep posting.
@rexsam31344 жыл бұрын
Can you highlight on STS on how you changed the profile?
@pavankumar-si2jv5 жыл бұрын
Very good explanation.
@srinivasthutika60796 жыл бұрын
It is great explanation on profiles. Few properties are shared in all environments. How would you do that. I don't want to specify in all the environment configurations.
@unemployedcse35144 ай бұрын
awesome ❤
@chinmaykshah6 жыл бұрын
HI need advice here Trying to create stock reader micro service using maven 2.0.3 stable version but while adding Eureka discovery its not working and getting error also not able to get @EnableDiscoveryClient annotation any idea?
@pandemicplayseverything82684 жыл бұрын
Hi, how about if I want to build my spring boot. Is it possible to spesify spring.profiles.active when I build my spring ?
@SanthoshkumarNagulanchi4 жыл бұрын
This is excellent tutorial on this topic
@MusicalSaikat4 жыл бұрын
Quick question. How can I read the property "spring.message" and "server.port" from the config file instead of reading it from the application-dev.yml file.
@kamalkant32253 жыл бұрын
Sir how we run spring boot test from command line with profiles ?
@siddhantpatil80754 жыл бұрын
How to read text file outside resources folder in spring mvc
@bathulanagendra46216 жыл бұрын
How to manage Dev and Prod profiles in production.how to manage prod profile in production.if possible make a video on how to configure prod and Dev environments.
@TechPrimers6 жыл бұрын
It's the same way as I showed.
@tuoan55334 жыл бұрын
I have questions that: How can we package this project to a war file ? And how to set active profiles when we package ?
@TechPrimers4 жыл бұрын
1. Change packaging in pom.xml to war. 2. You can set it via application.properties or application.yml
@gauravdighe41176 жыл бұрын
What are the SpringBoot best practises: I want to use H2 and Postgres. H2 for testing my code and Postgres for actual DB. 1. All my masters in databases are loaded using TestClass. 2. I will first test the masters - creation and CRUD operation with H2. JPA, Servcie and Controllers. If success, then i want to move with point3. 3. I will load the masters in postgres. 4. I will rerun the test class - CRUD with Postgres. (Is this required) 5. The release the functionality. How to achieve this?
@jatinsharma37922 жыл бұрын
suppose you don't have IntelliJ how you would execute from cmd ?? You can't write in intelliJ sprng.active.profile = production correct?
@TechPrimers2 жыл бұрын
Yes wrap it with -D like this -Dspring.profiles.active=production
@balrajmys6 жыл бұрын
Thanks Sir :) This topic was one of my requested topic.. I'm happy that you have considered my request.. It's come up good :)
@vedprakashjadhav68205 жыл бұрын
Can you upload an video on emailing using spring boot with html template
@009freestyler5 жыл бұрын
Spring profile with PCF. Can you quickly explain how can we do that ?
@mojardokan52386 жыл бұрын
hello ajay can you make a tutorial about Microbenchmarking with spring boot (JMH) ? thank you
@TechPrimers6 жыл бұрын
Sure mojar
@shivammishra0096 жыл бұрын
nice explanation , thanks for the video
@VRRM6 жыл бұрын
Is there any way to get clear description of each and every method in spring oauth2. Why we need to override certain methods? Most of the times i dont understand why we set some properties?
@TechPrimers6 жыл бұрын
You can read the Spring Documentation. not everything will be covered in Spring OAuth2 doc, since there are some basic understandings which are part of different documentation
@VRRM6 жыл бұрын
Can you share share some docs or urls
@TechPrimers6 жыл бұрын
Try this - projects.spring.io/spring-security-oauth/docs/oauth2.html
@ngauravmalhotra4 жыл бұрын
Quick Question . If one wants to not use properties or yml files and instead derive the {$spring.message} from the Java Configration class, how would it be achieved ?
@TechPrimers4 жыл бұрын
You can pass it via System variables during startup
@SpiritualManish6 жыл бұрын
Hi Ajay , Thanks for such a nice tutorial. Could you please demonstrate about "Consul Service Discovery" in your future videos.Thanks Again :)
@TechPrimers6 жыл бұрын
Sure
@deviprasadpatnaik68376 жыл бұрын
Hi, what is the difference between .properties and .yml ? what scenario we have to use could you pls explain . :) both we can use for profiles right
@TechPrimers6 жыл бұрын
There s already video about that. Check out that in the channel
@rajkumarchilukuri8785 жыл бұрын
Actually both are same... But yml file will give you more readability. Yml files internally converts to property file only
@vijayr65405 жыл бұрын
Good explanation , thankyou
@sunnychouhan12286 жыл бұрын
You have shown dev profile getting loaded from java config class..but if there are multiple profiles like sit, uat, qat...loading profile based upon env will require manual edit of java class , which is not recommended i think. please explain how can we do that without changing java class
@TechPrimers6 жыл бұрын
Hi Sunny. The Java based config classes are useful in changing implementations based on Profiles. eg. If we need to test our app locally(say from Intellij), there could be some tweaks required compared to its runtime. For those its very helpful. properties and configurable items should be going to the application.yml or properties as i showed in the initial part
@techieszone37046 жыл бұрын
Is it possible from the maven pom.xml also instead of changing the java class
@satyanarayana81045 жыл бұрын
It's good explanation
@tdswagspike14914 жыл бұрын
you are a legend :D
@sumanthvarada5 жыл бұрын
Good one
@satyanarayanajammala51296 жыл бұрын
do yo have any tutorial series on spring cloud
@TechPrimers6 жыл бұрын
Yes satya. There is a playlist called Spring Cloud. Take a look at it
@satyanarayanajammala51296 жыл бұрын
kzbin.info/www/bejne/Y53YeXyQf5uiqJI thanks for your response. is this the videos series?
@zhengshenyu5 жыл бұрын
Thanks so much, this helps a lot
@dileepalla67696 жыл бұрын
Can you explain spring boot conditional
@TechPrimers6 жыл бұрын
sure
@venkatanagaprathapyelugula77384 жыл бұрын
[WARNING] The requested profile "dev" could not be activated because it does not exist. This message I am getting and not working with dev port
@arunkumart92816 жыл бұрын
Dynamically how to pick the properties file at runtime
@TechPrimers6 жыл бұрын
You will have write custom loaders
@tejach45676 жыл бұрын
can you explain springboot cache..?
@TechPrimers6 жыл бұрын
Its done. you can check my channel for that video
@abhilashkokkonda17134 жыл бұрын
Awesome
@osamaalnajar93606 жыл бұрын
why did you use @RequestMapping instead of @Getmapping
@TechPrimers6 жыл бұрын
RequestMapping was added at the Class level of the RestController and GetMapping was added at the Method level. This is how the Target/scope of the annotations are defined in Spring, so we can use only at that level
@osamaalnajar93606 жыл бұрын
Tech Primers thanks man
@rahulgoti38646 жыл бұрын
Thank You!
@venuk71226 жыл бұрын
Thank you sir
@simplechannel78595 жыл бұрын
cool!
@nurlanmrahov1983 жыл бұрын
thx
@harshudasi90322 жыл бұрын
you should have explained how to do this without IDE, because on cloud instances like EC2 we cant do anything using IDE, this video was a waste of my time!