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.
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
@@helloworld101 MapStruct simplifies the mapping process in Java by generating the mapping code based on defined interfaces. Ex: convert a DTO into an entity…
This video is very helpful not just for beginners but also for people who want to revise clean code practices for interview !!! Thanks a lot for such knowledgeable content that too for free of cost !!
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.
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!
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
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
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
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.
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.
@@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?
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
I completely agree. I hate having my controllers, DTOs, and services all jumbled together-it just becomes a mess. I usually create global packages for things that should be shared globally, like bean configurations. What I typically do is create a package named "stories," and inside that, I’ll have a separate package for each story. Within each story package, I include the controller, service, validation, etc. Also, when something isn't found, the correct HTTP status code should be 404, not 200.
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?
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?
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?
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
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" }
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
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?
as a working professional for 2 years in fullstack java, I can confirm this video is a gem
I want to become a Java Full stack developer..... please can you share me your experience and give me suggestions and guidance
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.
Thanks Harsh 🥰. Keep learning 👍
JavaTechie you are such a brilliant guy to provide crisp information . Very grateful to you . This video made my weekend. BIG THANK YOU!!!!
Thanks buddy 😍
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
Yes I agreed and missed it .
Can you explain #2?
@@helloworld101 MapStruct simplifies the mapping process in Java by generating the mapping code based on defined interfaces. Ex: convert a DTO into an entity…
This video is very helpful not just for beginners but also for people who want to revise clean code practices for interview !!!
Thanks a lot for such knowledgeable content that too for free of cost !!
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.
Thank you for appreciate the work
Keep learning
This is such high-quality and extremely useful information!
Thank you so much for sharing this, really appreciate it!
Great video. Helpful for everyone to watch! We definitely need more of these
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!
No Words To Praise you..Be healthy ever my dear
Thnkx
Really help full video to optimise the existing code following proper standards great job
Thanks so much Java Techie. You are just a blessing to most of us. Keep giving us helpful tutorials.
Great Tutorial ! All the basics of spring boot API development covered. Really helpful for Beginners.
Big fan. Thanks a lot man. You save my job.
Thanks for putting it all together. Really appreciate your effort :)
Amazing practices! 🙌🏻 well explained
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
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
Awesome...plz make a video on roadmap to learn springboot and microservices.
you are a gem ...keep making video like this , more power to you :)
Useful lesson for beginners
Thanks You so much for sharing your knowledge
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
Thank you Gaurav ☺️. So happy that it helps you
Java Techie, you doing amazing work.
great sir bhala advice eita.
Thanks so much for this. Prepping for my technical interview. :)
Great tutorial. Thank you so much Java Techie
another great video . Thank you Basanth👌
Thank you so much Basanth
Wonderful information brother thank you for your efforts 💯💯❤
Very nice.. superb explanation. Thank you
Excellent video. Covers all the essentials things
great help for tech buddies
It's too good and informative. Thank you team.
Wonderful information thanks for helping ❤️
One importaint thing for Lombok is to generate these all things into bytecode after compilation😉😉...
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.
Yeah it's awesome but chargeable
This TH-cam channel is great ❤❤
very nice video, superb, much helpful
Thank you for the great video!!!
Greate video sir, thank you very much for detailed explanation... 🙏
Very much very helpful stuff!
Excelente video JavaTechie , Greetings from Peru 👌
great stuff thankyou !
absolutely awesome
God bless you!
Thanks 🎉
Thank you so much❤❤
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.
Thanks for the Video bro :)
Really a good one! Thanks
Please make a video on how to import config file from spring cloud/ external sources without exposing the config in project
how to create custom response like this
Loved it ❤️
Really loved the content ❤️
super video...its helpful
Hi sir, Checkmarx and vulnerability pe ek video ban do sir, how to fix .
Sure Ravi
Thanks again....
Thank you this is what I wanted to know
Thank you very much, really appreciated! Can you add dev and production part for caching, auditing, fetching modes too?
Great Video Sir very helpful and mandatory for developers
Good evening sir, is it a good practice to have multiple dto's in the spring boot project
Yes 👍
@@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?
Use spring batch if not simply you can write one shell script to do that
Helpful video
You are great
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
No it's required sometimes you will get status 200 but in code there will be NPE which you already handled or bypass
Thanks a lot
one small suggestion, it would have better if u could structure the packages based on product features rather application layers
I completely agree. I hate having my controllers, DTOs, and services all jumbled together-it just becomes a mess. I usually create global packages for things that should be shared globally, like bean configurations. What I typically do is create a package named "stories," and inside that, I’ll have a separate package for each story. Within each story package, I include the controller, service, validation, etc.
Also, when something isn't found, the correct HTTP status code should be 404, not 200.
Thanks
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
U r my hero❤
Thank you Akash 🤠
Since I have been watching ur vdos...i m getting confident and comfortable in Java...
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?
Hover your mouse sonarlint will give hints. Let me know if you are not able to resolve
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?
Thanks for the video. Can you please create detailed series on maven builds, designing multi project structure using maven and its plugins??
Very helpful video.Could you please make a video on React production ready app with webpack configuration on dev and prod env..
Is it possible to use Internationalization in bean validation?
Need your advice
Not in bean validation but api level you can
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?
No it will fire one single select query for new records
What I need to change If I use gradle instead of maven to apply this practices ? except for pom xml
sir can u please provide resource for Spring Security and JWT Exception Handling.
Have you checked my jwt latest video I believe i covered there
Hi, how is ur experience with mac as developer? Want to know diff with win. 🙏
Yes it's simply cool 😎. Mac OS is really good for programming
Thanks❤🌹🙏
I like the error handling, but not the status code 200 for ProductNotFoundException. It should be 404.
Yes agree status should be 400 not 404
Where can I grab the exceptional handling tutorial pin to pin explanation😊
Please check this video buddy 😊 th-cam.com/video/gPnd-hzM_6A/w-d-xo.html
200 Thanks
Sir what is the usage of Compatablefuture in java 8😊
Could you please check my completablefeature video
Ok sir thank you for quick response
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
Please give me reply
Hi Everyone,
Please help me where I can find this PRODUCT-SERVICE project from the playlist.
257th...Thanks... Great, Great video..Cheers
Sir, can you share the points you were going through.
We can also use java record instead of lombok
No record doesn't support Lombok and also it doesn't provide all what Lombok supports
Why you don't using interface in your code ?
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"
}
Yes simply you can use like below
User user =RestTemplate.getForObject(URL, User.class)
wow
51:55 LINE 39 WHAT DOES THIS SYMBOL MEANS?
What do you have an idea on generic in java ?
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
In production environment you can't test your post and put API from post man right?
@@Javatechie ok..Thanks for clarifying
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?
Hi sheko , please drop an email to javatechie4u@gmail.com
@@Javatechie I am also student. Can you please provide us with less price..
Guy , how to throw hibernate error message to client call ?
Wrap it in service with custom exceptions and then throw it from catch block
db connection is failing for me. any help
You need to encrypt your db password and use it .
Bro timestamps?
Why yml instead of properties
man... there are so many voice-over text already... I am begging you to start using it
Not getting you buddy. Are you facing issues?
@@Javatechie, excellent content, but I need help understanding what you are talking. In addition, your videos will start looking more professional.
Why to use "builder" ?
No click on that ~ it will show you type generic
Can anyone tell me what springboot developer do on a daily basis in a real time industry project?
Can you please provide us source code of this example. Please try to post source code here..
Link mentioned in video description buddy 😊