Тёмный

Spring Boot Best Practices For Developers 👨‍💻 | Productivity | JavaTechie 

Java Techie
Подписаться 174 тыс.
Просмотров 83 тыс.
50% 1

In this tutorial, I will guide some best practices and a few tips which you can use to improve your Spring Boot application and make it more efficient.
Spring boot microservice Live course Just started (Recordings available)
Hurry-up & Register today itself!
COURSE LINK : javatechie5246.ongraphy.com/
PROMO CODE : Java40
How Spring Boot Works Internally
• How Spring Boot Applic...
Configure Lombok in Eclipse
javagyanmantra.wixsite.com/we...
Use slf4j logging
• Spring Boot Logging wi...
Bean validation & Exception Handling
• Spring Boot | REST API...
Encrypt or externalize sensitive info
• Spring Boot Password E...
Vault Secret management
• Spring Cloud Vault Con...
Consul externalize config
• Microservice - Central...
Write E2E Unit test case with coverage
• Spring Boot Integratio...
Avoid NPE by using optional
• Java 8 Streams | Optio...
Use caching
• Spring Boot | Spring D...
Use Pagination
• Spring Boot | Paginati...
GitHub:
github.com/Java-Techie-jt/spr...
Blogs:
/ javatechie
Facebook:
/ javatechie
Instagram:
invitescon...
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account

Наука

Опубликовано:

 

3 ноя 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 153   
@paulsnehasish5830
@paulsnehasish5830 6 месяцев назад
as a working professional for 2 years in fullstack java, I can confirm this video is a gem
@kalaiselvankesavel2971
@kalaiselvankesavel2971 Год назад
JavaTechie you are such a brilliant guy to provide crisp information . Very grateful to you . This video made my weekend. BIG THANK YOU!!!!
@Javatechie
@Javatechie Год назад
Thanks buddy 😍
@harshverm776
@harshverm776 Год назад
I think this might be the best video on YT. You have provided all the best practices 60% which I have learn in my 2 years of career and 40% I have learned new things. This is the great thing that our Brother is providing such a awesome content for free of cost.
@Javatechie
@Javatechie Год назад
Thanks Harsh 🥰. Keep learning 👍
@srinivasamovva2735
@srinivasamovva2735 Год назад
No Words To Praise you..Be healthy ever my dear
@vijaysonawane3776
@vijaysonawane3776 4 месяца назад
This video and code in project is next level, it is exactly same as industry standards students are lucky those who are learning from you. If you have any paid prime course will definitely buy to upskill
@Javatechie
@Javatechie 4 месяца назад
Thanks Vijay for appreciating the efforts. Yes i have a few paid courses available devops for developers live class is going on and spring boot microservice recorded video of live class available. You can drop an email to javatechie4u@gmail.com to know more about courses
@Arsy1999
@Arsy1999 Год назад
This is such high-quality and extremely useful information! Thank you so much for sharing this, really appreciate it!
@AleksandarT10
@AleksandarT10 Год назад
Great video. Helpful for everyone to watch! We definitely need more of these
@shyamlalsivasankarannair8280
Great Tutorial ! All the basics of spring boot API development covered. Really helpful for Beginners.
@lts8683
@lts8683 Год назад
Great video. Thanks. I want just to add others best practices: 1- Create application.yml for each environment Ex: application-dev.yml - application-staging.yml ... 2- using library to map DTO like MapStruct... 3- using soft delete 4- using environment variables to avoid hard-coding
@Javatechie
@Javatechie Год назад
Yes I agreed and missed it .
@helloworld101
@helloworld101 7 месяцев назад
Can you explain #2?
@mateuslevi1300
@mateuslevi1300 6 месяцев назад
⁠@@helloworld101 MapStruct simplifies the mapping process in Java by generating the mapping code based on defined interfaces. Ex: convert a DTO into an entity…
@divyamahesh9032
@divyamahesh9032 Месяц назад
I cannot step out of video with out commenting. It's such a great content for any developer whether a fresher or experienced🎉🎉🎉 With this video you have shown an end to end project with great standards.
@Javatechie
@Javatechie Месяц назад
Thank you for appreciate the work Keep learning
@markosimic3732
@markosimic3732 9 месяцев назад
Several points here I had to discover by myself and learn how to practise them. This is a nice video that showcases them (and many more) systematically and in one place. Thumbs up!
@raunaqsingh6628
@raunaqsingh6628 5 месяцев назад
Amazing practices! 🙌🏻 well explained
@anjanx44
@anjanx44 Год назад
Big fan. Thanks a lot man. You save my job.
@stevegathara8885
@stevegathara8885 Год назад
Thanks so much Java Techie. You are just a blessing to most of us. Keep giving us helpful tutorials.
@Nikhil-Kumar-Ahlawat
@Nikhil-Kumar-Ahlawat Год назад
you are a gem ...keep making video like this , more power to you :)
@attrayadas8067
@attrayadas8067 8 месяцев назад
Thanks for putting it all together. Really appreciate your effort :)
@johnvick8861
@johnvick8861 Год назад
great sir bhala advice eita.
@fullfun1234
@fullfun1234 Год назад
Java Techie, you doing amazing work.
@amitwarudkar2676
@amitwarudkar2676 Год назад
Excellent video. Covers all the essentials things
@udit9337
@udit9337 Год назад
Really help full video to optimise the existing code following proper standards great job
@umamaheswarreddy9204
@umamaheswarreddy9204 Год назад
another great video . Thank you Basanth👌
@JyotiKumari-jd9mf
@JyotiKumari-jd9mf Год назад
It's too good and informative. Thank you team.
@lavesh501
@lavesh501 Год назад
Useful lesson for beginners Thanks You so much for sharing your knowledge
@monsterhuntergo
@monsterhuntergo Год назад
Thanks so much for this. Prepping for my technical interview. :)
@pandiyarajramu749
@pandiyarajramu749 Год назад
Very nice.. superb explanation. Thank you
@kokalasoujanya2315
@kokalasoujanya2315 3 месяца назад
Great tutorial. Thank you so much Java Techie
@hareeshjp
@hareeshjp Год назад
Greate video sir, thank you very much for detailed explanation... 🙏
@ainigma100
@ainigma100 Год назад
Thank you for the great video!!!
@ramanag5680
@ramanag5680 Год назад
Thank you so much Basanth
@yatendra__singh
@yatendra__singh Год назад
Wonderful information thanks for helping ❤️
@Bloome_BlueFolf
@Bloome_BlueFolf Год назад
Very much very helpful stuff!
@erichhc9698
@erichhc9698 Год назад
Excelente video JavaTechie , Greetings from Peru 👌
@Vithal_Nivargi
@Vithal_Nivargi Год назад
Thank you this is what I wanted to know
@Ace-yt7eo
@Ace-yt7eo Год назад
Really loved the content ❤️
@neerajmalhotra8277
@neerajmalhotra8277 Год назад
Loved it ❤️
@srinivasaraju8399
@srinivasaraju8399 9 месяцев назад
Wonderful information brother thank you for your efforts 💯💯❤
@rohitkarambali779
@rohitkarambali779 Год назад
great help for tech buddies
@Aj-ld4ds
@Aj-ld4ds Год назад
Thanks for the Video bro :)
@deviprasadhota2617
@deviprasadhota2617 Год назад
Awesome...plz make a video on roadmap to learn springboot and microservices.
@srinivasaraju8399
@srinivasaraju8399 9 месяцев назад
This RU-vid channel is great ❤❤
@gauravdewalkar4830
@gauravdewalkar4830 10 месяцев назад
got to learn a lot of new things. You explain things very precisely and in a simple way. it feels like my elder brother is talking and explaining it to me. Thank you basant bhai. please never stop making videos. :D
@Javatechie
@Javatechie 10 месяцев назад
Thank you Gaurav ☺️. So happy that it helps you
@medAmineRg
@medAmineRg 5 месяцев назад
great stuff thankyou !
@promitbanik1362
@promitbanik1362 11 месяцев назад
Really a good one! Thanks
@bvinodmca
@bvinodmca 6 месяцев назад
very nice video, superb, much helpful
@vishalbhosale7747
@vishalbhosale7747 Год назад
super video...its helpful
@evsatyamblog4218
@evsatyamblog4218 Год назад
Thank you so much❤❤
@user-xb1pu1tj7e
@user-xb1pu1tj7e 5 месяцев назад
absolutely awesome
@PappuKumar-ho3ek
@PappuKumar-ho3ek Год назад
Thanks again....
@thangarasus132
@thangarasus132 3 месяца назад
Thank you so much
@VELPULASIVAKRISHNA
@VELPULASIVAKRISHNA Месяц назад
Thanks a lot
@kishordige9721
@kishordige9721 Год назад
Helpful video
@user-bk3gr1nl2s
@user-bk3gr1nl2s 4 месяца назад
Thanks 🎉
@veronicagenn8585
@veronicagenn8585 Год назад
God bless you!
@sarmientoluis89
@sarmientoluis89 Год назад
good day congratulate you for the content of the videos a question in the rest services is better to send the code or error messages. Additional that way should have a class that controls the errors for each dto beforehand thanks and success in your life both personal and professional.
@rambeersharma2091
@rambeersharma2091 Год назад
You are great
@evsatyamblog4218
@evsatyamblog4218 Год назад
Thanks❤🌹🙏
@nageshpatel889
@nageshpatel889 Год назад
Very helpful video.Could you please make a video on React production ready app with webpack configuration on dev and prod env..
@lovetyagi5266
@lovetyagi5266 Год назад
Thanks
@manutyagi8019
@manutyagi8019 Год назад
Great Video Sir very helpful and mandatory for developers
@manutyagi8019
@manutyagi8019 Год назад
Good evening sir, is it a good practice to have multiple dto's in the spring boot project
@Javatechie
@Javatechie Год назад
Yes 👍
@manutyagi8019
@manutyagi8019 Год назад
@@Javatechie Good morning sir, one more question how can we export data from one table to another without mapping the tables using spring boot hibernate?
@Javatechie
@Javatechie Год назад
Use spring batch if not simply you can write one shell script to do that
@bvinodmca
@bvinodmca 6 месяцев назад
one small suggestion, it would have better if u could structure the packages based on product features rather application layers
@esmelealemmihretu941
@esmelealemmihretu941 Год назад
Thank you very much, really appreciated! Can you add dev and production part for caching, auditing, fetching modes too?
@thesilentkiller3882
@thesilentkiller3882 Год назад
Please make a video on how to import config file from spring cloud/ external sources without exposing the config in project
@jopadjr
@jopadjr Год назад
257th...Thanks... Great, Great video..Cheers
@ajithansehivakanan6708
@ajithansehivakanan6708 Год назад
Useful content has provided by great teacher!!!👍 I have a small doubt with regards to caching. After added the caching mechanism in application, the first request will reach to DB for fetching the details and store it in cache for serving the further requests. Whether the Spring would reach DB to fetch all the records if any new record inserted in DB in between?
@Javatechie
@Javatechie Год назад
No it will fire one single select query for new records
@mubarakahmed9060
@mubarakahmed9060 Год назад
200 Thanks
@RaviVerma-bg6ul
@RaviVerma-bg6ul Год назад
Hi sir, Checkmarx and vulnerability pe ek video ban do sir, how to fix .
@Javatechie
@Javatechie Год назад
Sure Ravi
@vindiesel-tn5xm
@vindiesel-tn5xm Год назад
U r my hero❤
@Javatechie
@Javatechie Год назад
Thank you Akash 🤠
@vindiesel-tn5xm
@vindiesel-tn5xm Год назад
​Since I have been watching ur vdos...i m getting confident and comfortable in Java...
@premprakashrohan1
@premprakashrohan1 Год назад
One importaint thing for Lombok is to generate these all things into bytecode after compilation😉😉...
@vazzdoin
@vazzdoin Год назад
Thanks for the video. Can you please create detailed series on maven builds, designing multi project structure using maven and its plugins??
@attrayadas8067
@attrayadas8067 8 месяцев назад
Sir, do you have any plan of making a video on Spring Integration Java DSL? I want to learn it, any guidance will help a lot
@Thomastinio666
@Thomastinio666 Год назад
What I need to change If I use gradle instead of maven to apply this practices ? except for pom xml
@ArunraajSingh
@ArunraajSingh Год назад
wow
@anandsingh-pw6mm
@anandsingh-pw6mm Год назад
I see the struggle with yaml, well feature like such you will highly enjoy in Idea ultimate edition, I have switched from community to ultimate last quarter May'22 and so far didn't regret it.
@Javatechie
@Javatechie Год назад
Yeah it's awesome but chargeable
@user-pu6ll6xd2b
@user-pu6ll6xd2b Год назад
how to create custom response like this
@RaghuD-ch9bf
@RaghuD-ch9bf Год назад
Sir, can you share the points you were going through.
@itsnarahari
@itsnarahari Год назад
Why should we maintain the status in response instead of direct results we must get the status response code with that in frontend we can validate it I think we are adding one more step 🪜 to that I think it's not required for failures and success
@Javatechie
@Javatechie Год назад
No it's required sometimes you will get status 200 but in code there will be NPE which you already handled or bypass
@VELPULASIVAKRISHNA
@VELPULASIVAKRISHNA Месяц назад
if our project contains multiple services .is it neccessary to take the multiple exception handler class,and multiple exception Custom Exception..is there any alternate for that?
@bulbul-dev
@bulbul-dev Год назад
In controlloler inside ResponseEntity Generic types shouldn’t be used raw (without type parameters) in variable declarations or return values. Doing so bypasses generic type checking, and defers the catch of unsafe code to runtime. Solnarlint warnings. how to resolve it?
@Javatechie
@Javatechie Год назад
Hover your mouse sonarlint will give hints. Let me know if you are not able to resolve
@Prakash-gz6py
@Prakash-gz6py Год назад
Hi, how is ur experience with mac as developer? Want to know diff with win. 🙏
@Javatechie
@Javatechie Год назад
Yes it's simply cool 😎. Mac OS is really good for programming
@vineethchinna3951
@vineethchinna3951 Год назад
I have a small doubt what is the difference between testing APIS in post man and writing Junit test cases? both approaches motive is to check whether we are getting correct output or not
@Javatechie
@Javatechie Год назад
In production environment you can't test your post and put API from post man right?
@vineethchinna3951
@vineethchinna3951 Год назад
@@Javatechie ok..Thanks for clarifying
@mars3142
@mars3142 Год назад
I like the error handling, but not the status code 200 for ProductNotFoundException. It should be 404.
@Javatechie
@Javatechie Год назад
Yes agree status should be 400 not 404
@kvnagendra5354
@kvnagendra5354 10 месяцев назад
Bro timestamps?
@muralikrishna6044
@muralikrishna6044 Год назад
Where can I grab the exceptional handling tutorial pin to pin explanation😊
@Javatechie
@Javatechie Год назад
Please check this video buddy 😊 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gPnd-hzM_6A.html
@manigandansaravanan4043
@manigandansaravanan4043 Год назад
Is it possible to use Internationalization in bean validation? Need your advice
@Javatechie
@Javatechie Год назад
Not in bean validation but api level you can
@simoneric
@simoneric Год назад
Dude what is your secret.. how do you manage to learn the technologies that are released to be able to make tutorials about them?
@Javatechie
@Javatechie Год назад
No secret buddy. I'm just doing it as per viewers need 🥰
@gautamkumarray8279
@gautamkumarray8279 Год назад
sir can u please provide resource for Spring Security and JWT Exception Handling.
@Javatechie
@Javatechie Год назад
Have you checked my jwt latest video I believe i covered there
@QuanLe-jh4lr
@QuanLe-jh4lr Год назад
Why you don't using interface in your code ?
@sheko4515
@sheko4515 Год назад
Can you have a better discount for your microservices course? Also why it says it is only available for 356 days, does that mean that after that I have no access to the course?
@Javatechie
@Javatechie Год назад
Hi sheko , please drop an email to javatechie4u@gmail.com
@kasasrinivas5765
@kasasrinivas5765 Год назад
@@Javatechie I am also student. Can you please provide us with less price..
@muralikrishna6044
@muralikrishna6044 Год назад
Sir what is the usage of Compatablefuture in java 8😊
@Javatechie
@Javatechie Год назад
Could you please check my completablefeature video
@muralikrishna6044
@muralikrishna6044 Год назад
Ok sir thank you for quick response
@elasingh3151
@elasingh3151 Год назад
We can also use java record instead of lombok
@Javatechie
@Javatechie Год назад
No record doesn't support Lombok and also it doesn't provide all what Lombok supports
@IMRANANSARI-dq6rh
@IMRANANSARI-dq6rh 4 месяца назад
Hi Everyone, Please help me where I can find this PRODUCT-SERVICE project from the playlist.
@saravanasathish423
@saravanasathish423 Год назад
Hello sir, Is there a best way to convert resttemplate response to users required dto response, rather than using Jsonnode and calling particular object. For ex: in resttemplate Users:[ { Firstname:"java", Lastname:"techie" }] I want { Firstname:"java", Lastname:"techie" }
@Javatechie
@Javatechie Год назад
Yes simply you can use like below User user =RestTemplate.getForObject(URL, User.class)
@kumarabhishek1064
@kumarabhishek1064 Год назад
Can anyone tell me what springboot developer do on a daily basis in a real time industry project?
@bhavanisankar71
@bhavanisankar71 Год назад
Sir you used PhysicalNaming strategy in your yml file but why your instance variables not showing in order in database why sir please tell me any one of the solution because I want to store in order how
@bhavanisankar71
@bhavanisankar71 Год назад
Please give me reply
@sinseyha381
@sinseyha381 Год назад
Guy , how to throw hibernate error message to client call ?
@Javatechie
@Javatechie Год назад
Wrap it in service with custom exceptions and then throw it from catch block
@rickhunter8216
@rickhunter8216 11 месяцев назад
51:55 LINE 39 WHAT DOES THIS SYMBOL MEANS?
@Javatechie
@Javatechie 11 месяцев назад
What do you have an idea on generic in java ?
@kasasrinivas5765
@kasasrinivas5765 Год назад
Can you please provide us source code of this example. Please try to post source code here..
@Javatechie
@Javatechie Год назад
Link mentioned in video description buddy 😊
@dasariarun3920
@dasariarun3920 Год назад
First veiw
@helloworld101
@helloworld101 7 месяцев назад
You need a table of contents
@miniatureclips7652
@miniatureclips7652 Год назад
First comment
Далее
Schoolboy - Часть 2
00:12
Просмотров 2,6 млн
4 Spring Boot Mistakes to AVOID in 2024
15:18
Просмотров 56 тыс.
Handle 1,000,000 Threads with Java and Spring Boot !!!
21:50
Skyrocket Your API Performance with These Techniques
8:06
Rest API - Best Practices - Design
15:50
Просмотров 103 тыс.
5 Common Mistakes Spring Developers Make
18:06
Просмотров 16 тыс.
#samsung #retrophone #nostalgia #x100
0:14
Просмотров 13 млн