Requesting Learners to give thumbs up for this Quick Reference Guide 0:05 About Spring 5:34 Dep Inj 12:55 Mock Object 13:40 Spring Tool Suite IDE 17:50 start spring io 18:40 Project type Maven or Gradle 19:14 Spring Boot Version 19:19 Reactive Programming 42:27 20:10 Spring Boot in Eclipse 20:46 Artifact name as Project name 21:46 run a Spring Boot project 22:17 Autowired helps Dep Inj 24:00 properties 24:20 create getters and setters 24:29 POJO 27:27 what is bean 27:47 design patterns of spring boot 28:48 Component annotation creates bean 36:36 24:44 class ConfigurableApplicationContext has run method 26:40 error corrected on 30:40 31:41 Spring creates object by default 32:30 Spring container runs Constructor only once per class (by Singleton DP) irrespective of number of times which the class is referred to 32:44 Scope value prototype will create instance only when called by getBean method 34:11 class Laptop 34:44 toString method 35:20 Laptop given to Alien 36:0037:17 NullPointerException corrected on 37:24 38:12 Autowire component MOA 38:30 Qualifier annotation 39:06 Component attribute and Qualifier attribute should be same if provided 40:39 Web App 42:22 web dependency 43:13 jsp created in different src folder 44:38 class HomeController created in different src folder 45:45 Controller annotation 46:46 RequestMapping annotation 48:00 Location of Tomcat server jar file 48:48 Project - Run as - Spring Boot app 50:50 50:00 return home jsp 51:30 issues with Tomcat server 52:25 Velocity Thymeleaf 52:35 ResponseBody annotation 53:25 mvnrepository tomcat-jasper dependency in pom xml file 1:25:00 55:33 Application Properties 57:27 location of application properties 57:50 path of page is defined by spring mvc view prefix 58:54 extension of page is defined by spring mvc view suffix 1:00:11 Get Data from Browser 1:02:22 HttpServletRequest for incoming request from Browser 1:03:13 httpServletRequestObject getParameter paramKeyName 1:05:50 httpServletRequestObject setAttribute to pass incoming request param to home jsp page 1:06:16 HttpSession httpSessionObject equals httpServletRequestObject which has getSession method 1:06:30 httpSessionObject has setAttribute method with key and value as params 1:06:55 we can use httpSessionObject to display value from paramKeyName 1:07:07 JSTL or EL Expression Language 1:08:08 HttpServletResponse httpServletResponseObject 1:08:33 amazing features of Spring Boot in next video 1:08:51 class ModelAndView 1:09:19 replacement of both HttpServletRequest httpServletRequestObject and HttpServletResponse httpServletResponseObject 1:10:10 HttpSession httpSessionObject as second param to home method 1:11:55 RequestParam annotation to handle incoming request keyName which does not match with property name 1:13:40 class ModelAndView modelAndViewObject within class HomeController with method home which will return modelAndViewObject which then will change the return type of method home to class ModelAndView 1:14:30 modelAndViewObject addObject method has two params ie keyName and dynamicValue 1:14:54 modelAndViewObject setViewName 1:14:14 HttpSession httpSessionObject replaced by ModelAndView modelAndViewObject 1:16:12 Model Object 1:16:36 class Alien created in different src folder 1:16:44 definition of Alien 1:18:44 home method to have Object of class Alien as its param 1:19:00 modelAndViewObject addObject method has two params ie keyName and Object of class Alien 1:19:19 JSTL to include keyName with propertyName from Object of class Alien 1:20:29 MVC using JPA and H2 1:21:00 dependency web jpa h2 1:21:51 app to add aliens and fetch aliens 1:22:10 model folder created with class Alien 1:22:30 Alien is POJO 1:22:44 webapp folder created 1:24:00 class SampleController created in controller folder 1:26:26 application properties file to have key spring h2 console enabled and its value as true 1:26:33 application properties file to have key spring datasource platform and its value as h2 1:26:52 application properties file to have key spring datasource url and its value as jdbc h2 mem dbName 1:27:27 way to access h2 on browser 1:28:12 class Alien has annotation Entity 1:28:18 class Alien property has annotation Id 1:29:10 data sql file created 1:31:31 dao folder created and DAO interface created 1:32:00 interface DAO extends CrudRepository with class POJO as its 1st Type and Data type of PrimaryKey of POJO as its 2nd Type 1:32:42 DAO dao inside class SampleController 1:32:52 DAO to have annotation AutoWired 1:33:43 dao save Object of class POJO 1:35:29 MVC using JPA and H2 1:36:50 Service Layer requirement 1:45:12 MVC using JPA and H2 Query Methods Example 1:52:33 Query annotation 1:52:52 JPQL 1:53:23 Question mark in JPQL 1:54:43 MVC using JPA H2 REST Example 1:56:00 Web Service by REST 2:01:30 PathVariable annotation 2:03:23 JpaRepository 2:04:14 Optional with type class POJO 1:58:48 Conversion of iterable output by toString method 1:59:09 ResponseBody annotation 2:01:01 wildcard in RequestMapping annotation 2:02:22 MVC using JPA H2 REST Example 2:04:00 with JpaRepository the return type is List and therefore toString method removed 2:04:30 2:06:16 mvnrepository jackson-core dependency 2:06:55 Usage of Postman in MVC using JPA H2 REST Example 2:10:40 Content Negotiation 2:11:29 Content Negotiation Data JPA MVC H2 REST 2:13:13 Default output format of Spring Boot is JSON 2:13:31 Headers Accept application xml 2:15:15 mvnrepository Jackson Dataformat XML dependency 2:17:17 within class Controller RequestMapping to have path and produces curly braces application xml curly braces wherever return type is List 2:19:36 POST Example 2:21:11 Body form-data key value 2:22:44 PostMapping annotation 2:23:03 GetMapping annotation 2:23:13 interface JpaRepository does NOT require ResponseBody annotation 2:23:23 if we remove ResponseBody annotation then we replace Controller annotation by RestController annotation 2:26:00 Body raw JSON 2:21:11 2:27:07 within class Controller PostMapping to have path and consumes curly braces application json curly braces wherever return type is POJO 2:27:35 PUT DELETE Example 2:30:40 DeleteMapping annotation has attribute id in curly braces 2:30:30 daoRef delete pojoObject 2:34:34 Put operation in Postman - Body raw JSON 2:35:35 class Controller can be Obsolete 2:36:30 REST Example 2:38:38 dependency RestRepositories jpa h2 2:39:39 application properties to have key value corresponding to h2 2:40:20 resources folder to have application properties file and data sql 2:41:21 class POJO to have Entity annotation 2:41:30 property id to have Id annotation and GeneratedValue annotation 2:42:02 interface DAO extends JpaRepository with 1st type POJO class and 2nd type Data Type of Primary Key 2:43:23 RepositoryRestResource annotation with 1st param collectionResourceRel and 2nd param path 2:45:45 Post operation on Postman
Your way of teaching is unique. Instead of just showing the program flow you actually go deep into each concept. Thank you for making everything easily accessible.
I spent weeks in a boot camp with no one being able to explain dependency injection. I finished applications where I had no idea what @autowire meant and I've seen so many videos that struggled to explain this to me. In 35 minutes I learned concepts that I had no idea about after multiple weeks of learning them. Between the simple drawing and the simple application example I just had a massive leap forward in understanding. Thank you very much.
DON'T GO NOWHERE ELSE ON UA-cam IF YOU ARE SEARCHING FOR A GREAT SPRING TUTORIAL IT IS EXPLAINED VERY VERY VERY WELL HERE !! Thanks to this guy for such a great effort :D
I've been struggling to find a good youtube source that teaches me Java. No BS, you are that source. I've seen a ton of your videos and I hope you don't stop. Thanks man.
Finished the entire thing today - from not knowing literally anything about java, apis or spring - i feel a million times more comfortable with this area. Thank so much.
Hey Naveen , I can't express how much I feel grateful for this video. You just summarised the entire springjpa in one single video and that too so amazingly. Content like this makes the learners appreciate genuine teachers like you. God bless you man...
Thank you so much! ❣️ I am a July 2021 passout and am not from a CS/IT background, but was interested in Computer Science, hence I joined Accenture at a package of 4.5 LPA. After 6 months of working on myself, I've finally received an amazing offer, a 400% hike, from a product based company. Your videos helped a lot, I don't come from a very good financial background, hence it means a lot to me. Thank you so much! ✨
A really really great effort realised wonderfully. It's amazing to see such rich content and huge effort being released for free. Keep up the great work. The next generation of coders owe you.
Zapata I have been trying hard to understand.. but his dependency on IDE is like a broken bridge .. you are lucky to benefit .. You know cranes can not drink soup from a dinner plate Telsku don`t have jars
You are a life saver bro. I watched your videos throughout my university days and even today when I am working as a professional, you are still the most relevant guy.
This is the first time I completed any tutorial at once. The reason is that.. You have explained it in very well manner which made it so interesting. It's very hard to find so many important concepts in just one tutorial...Thank you so much. Keep sharing knowledge👍📚
@Suhel Pakhali Hi, Spring is a framework and it's always good to know what all configurations we need to do while working with spring core. Spring boot is placed on top of Spring core. In spring boot we don't need to make lot of configurations just like Spring. In order to understand why we are doing "something" in that way only or what things we are replacing or achieving by doing this way, you should go through the Spring Core, Spring MVC concepts once (DI, XML/Annotations based configurations, MVC) Navin has already shared 1-2 hours tutorials for the same)
I've been doing web development for 7 years. I've used all types of languages: scripting, OOP, strongly, loosely typed, interpreted. There is nothing like the feeling of writing and building in Java. Too easy to reason about is a good thing. It's srsly too easy to reason about because of the architecture that OOP gives. Love it
I have seen many other tutorials for spring and spring boot .. but nobody explained like this. this video makes me completely understand about DI, Autowiring, and spring container. and spring boot .. a very good explanation..and an amazing video.. thanks a lot!!
I just pause the video and want to tell you a BIGGGGGGG THANK YOU SIR. Really in Spring i saw so many videos to understand this but first time i came on your channel and you are superb, i have no words so thankyou
I was working with spring and spring boot since one and half year but I don't know the exact concept of dependence injection and this video made it clear for me thaks so much.
@@shanureddy9001 It's not necessary but it will show a clearer picture of how stuff works if you have knowledge of Framework before learning Boot. Since All Boot does is get rid of the configuration files that you need to make in Framework manually.
Sir, you are a legendary teacher. I paused my video to just comment on this because I am extremely satisfied with your teaching and I am understanding every difficult detail to point out just because of your clarity in teaching.
I've just finished watching the whole video... This is a masterpiece! It's the best Spring Boot Video that I've ever watched and I left feeling very comfortable with Spring Boot after days of struggle. Thanks for sharing all of this, Mr. Navin. You're amazing!
OMFG What a freaking GREAT resource!! Thank you thank you thank you! Over the last 2 weeks I have probably tried 2 dozen tutorials, videos, documents and and blogs on Spring Boot, and each one left me more confused than when I started! This explains everything, why we need it, how to use it and what it's doing in the background. I'm halfway through the aggregated full course video, and already can do more in Spring Boot than I could with all the other resources combined. This is wonderful.
You are an awesome teacher with great communication skill. I have gone through only initial few minutes of your tutorial, but had to pause and add my comments. Keep your great work going. You are, for sure, enlightening many developer's life. THANKS
I'm starting a new job next week that uses SpringBoot/Spring/Hibernate. I've watched your videos on these topics and feel a bit less lost now. Cheers bro
how do you feel lost after this video? Please provide specifics, maybe we can help or point you in the right direction. This video was very coherent and simple, IF you have the prerequisite knowledge (that's a big IF and might be your hang-up).
I have tried many tutorials for Spring Boot before yours, but I would admit your tutorial is crisp and simple. Liked the way all the examples have been designed, easy to follow along. Thank you for creating this amazing content.
The way of the Progress in the tutorial is just awesome . The way he first does a mistake show us the error it will cause and how to get rid of it makes us really aware of what goes wrong and how we should avoid it. One of the best tutorial for beginner and experienced too for revision! Big thumbs up!
Bro iam a student will you guide me . I know about java and basic dsa like arrays, strings,linkedlist,stacks etc and basic algorithms . What are the pre- requist to learn spring boot. Should I learn html , angular any more things ?? Please reply and guide me
Great Tutorial Sir! Anyone having errors after adding data.sql (1:29:30) Just add this line to application.properties spring.jpa.defer-datasource-initialization=true Thanks Me Later
I really appreciate you Mr. Navin, I am zero in Spring boot, I searched many tutorial, but according to my knowledge you are my best spring boot master, keep your services, God bless you
Navin, your way of teaching is really cool ! Having worked in the industry, what I like about your method of teaching is that you create an exception and then fix it. This way fundamentals get clear why we are doing what we are doing. It also helps debug issues in real time applications. Increases confidence level. I enjoyed watching and learning your videos thoroughly. It is said how we do anything is how you do everything. All your videos I have gone through are simple, complete and best part is short :) I wonder if your free classes are of this quality, how would your paid classes be!
Usually I don't write comment on videos, but you are the best person in the world who has covered all basic concepts for beginners, watched a lot of videos but you explained the best, I am very thankful to you & love from Pakistan.
dear sir, actually your amazing..i have no word's for your teaching ability..i'm a just startup developer. don't know any thing java except hello world[but i have some knowledge on NodeJS, that's also little bit. but you make me very confident on production too..actually i love you sir..god bless you sir..i read many tutorial,watch many videos but nothing compared to yours..wow..actually now ,i want to watch and learn whole videos by you..
You should not be learning Spring Boot if you don't know anything about Java. Learn Java first and be familiar with it before introducing the complexities of Spring and Spring Boot.
Since this tutorial is beeing a bit out of date due to the new Spring framework beeing released there is one step/line of code that needs to be added in application.properties at 1:27:00. That is "spring.jpa.defer-datasource-initialization=true" - since my newer spring framework was throwing out an exception "table ALIEN not found" and this new line in app properties managed to create database on initialization with Entity annotation. Full exception: Error creating bean with name 'dataSourceScriptDatabaseInitializer' defined in class path resource [org/springframework/boot/autoconfigure/sql/init/DataSourceInitializationConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of URL [file:/C:/JavaProjects/Servlet2/bootjpa/target/classes/data.sql]: INSERT INTO ALIEN VALUES ('101', 'TIN'); nested exception is org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "ALIEN" not found; SQL statement: Usefull documentation where I found an answer: docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto.data-initialization Anyway sir, thank you very much for this excellent content!
This is for those who are trying to create a jsp file On your, Spring Tool Suite go to 1)Help Menu 2)Select Eclipse Marketplace 3)Search and install Eclipse Enterprise Java And Web Developer Tools and then restart
Amazing Amazing! Now I became the big fan of sir Navin..He is a Magician....His teaching style is Amazing...Love from Kashmir...Thank you soo much sir.....
Whenever I have doubt or need clarification in any technology , always my google search will be for your videos. Your way of teaching is simple & deep . Thank You Master !😀
Great work Telusko ! Absolutely delicious stuff ! No one can easily explain the concepts of spring container , dependency injection & mapping this easily. Feeling much more confident in spring boot concepts especially JPA stuff & power of annotations.
Watched the whole video. Amazing effort and lot of knowledge to gain Thank you so much for helping us out. Working with java from last 1.5 years and your videos helped a lot. :)
In the last Part. "19 Spring Boot Data REST Example" , you need to add "spring.jpa.defer-datasource-initialization" to application.properties. Otherwise the Script runs befor the table created. application.properties looks like ... spring.h2.console.enabled=true spring.sql.init.platform=h2 spring.datasource.url=jdbc:h2:mem:testdb spring.jpa.defer-datasource-initialization=true
Thanks for this comment even I wasted 1 hour searching for the error as table not found in chrome after seeing your comment i added the last spring property and then i was able to create data in the table any one facing the error for table not found then do add the last property "spring.jpa.defer-datasource-initialization=true" and then run
You are the great teacher even i have purcheched the course but not understand anything but by your video i got more confidence in spring boot thank u again sir
Thanks Navin. This is fantastic. I've been trying to grasp SpringBoot and other Java concepts such as interfaces, anonymous classes, and lambda and just not got very far. But your videos explained it all.
This is the best tutorial for beginners who really dive into spring boot . The way he is teaching the concept is excellent and he make them easy to undersatand .....
So in 2022 if you get error that sql did not found your table add this line of code to the properties: spring.jpa.defer-datasource-initialization=true . It makes sure that the schema (your table) is created first before the data.sql file is executed.Hence that could be your only problem. AND i wanna thank this man for all the information provided for FREE . A world changer for sure :)
Excellent explanation. Loving your videos...I'm totally new to Spring (boot) and you are making the concepts understand in a simpler terms than using technical jargons...
Thank you for this excellent video. This is the best tutorial video for Spring Boot. You have explained it in a very easy to understand way. Thanks again.
Those who are facing problem with H2 database Initilizaion : 1) data.sql --> just rename the file to import.sql and re launch your application. 2) spring.jpa.defer-datasource-initialization = true 3) don't use double quotes ("") use single quotes('')
This tutorial is Simple, Powerful and Informative, If you have basic knowledge on WebServices, REST in Java or any other languages, this tutorial will help you learn and write code for all the main concepts in Spring Boot. Thanks Navin Reddy.
Thank you for helping us by making this kind of videos sir.. coming with advanced technologies and Explanation is awesome it's helping me alot... Thank you sir😃
You have made my day. I am truly enjoying your video, and the way you break up different concepts into simple to understand terminology. I love it man! keep it up
For those who may be having trouble on initializing database with data.sql and having Table not found error .... put below property on your application.properties file : spring.jpa.defer-datasource-initialization=true
Awesome mama i love the way you teach the long spring boot frame work in short and understandable......By this now iam good to start with spring boot with all basics...Love youuu💌
lets take a moment here to thank this guy for putting this content on youtube for free.
Yes very true 👍
yes we should
He is awesome
Hey!! Are there any prerequisites for this tutorial?
@@smritisachdeva3217 Java, Spring core , Spring MVC
Requesting Learners to give thumbs up for this Quick Reference Guide
0:05 About Spring
5:34 Dep Inj
12:55 Mock Object
13:40 Spring Tool Suite IDE
17:50 start spring io
18:40 Project type Maven or Gradle
19:14 Spring Boot Version
19:19 Reactive Programming 42:27
20:10 Spring Boot in Eclipse
20:46 Artifact name as Project name
21:46 run a Spring Boot project
22:17 Autowired helps Dep Inj
24:00 properties
24:20 create getters and setters
24:29 POJO
27:27 what is bean
27:47 design patterns of spring boot
28:48 Component annotation creates bean 36:36
24:44 class ConfigurableApplicationContext has run method
26:40 error corrected on 30:40
31:41 Spring creates object by default
32:30 Spring container runs Constructor only once per class (by Singleton DP) irrespective of number of times which the class is referred to
32:44 Scope value prototype will create instance only when called by getBean method
34:11 class Laptop
34:44 toString method
35:20 Laptop given to Alien
36:00 37:17 NullPointerException corrected on 37:24
38:12 Autowire component MOA
38:30 Qualifier annotation
39:06 Component attribute and Qualifier attribute should be same if provided
40:39 Web App
42:22 web dependency
43:13 jsp created in different src folder
44:38 class HomeController created in different src folder
45:45 Controller annotation
46:46 RequestMapping annotation
48:00 Location of Tomcat server jar file
48:48 Project - Run as - Spring Boot app 50:50
50:00 return home jsp
51:30 issues with Tomcat server
52:25 Velocity Thymeleaf
52:35 ResponseBody annotation
53:25 mvnrepository tomcat-jasper dependency in pom xml file 1:25:00
55:33 Application Properties
57:27 location of application properties
57:50 path of page is defined by spring mvc view prefix
58:54 extension of page is defined by spring mvc view suffix
1:00:11 Get Data from Browser
1:02:22 HttpServletRequest for incoming request from Browser
1:03:13 httpServletRequestObject getParameter paramKeyName
1:05:50 httpServletRequestObject setAttribute to pass incoming request param to home jsp page
1:06:16 HttpSession httpSessionObject equals httpServletRequestObject which has getSession method
1:06:30 httpSessionObject has setAttribute method with key and value as params
1:06:55 we can use httpSessionObject to display value from paramKeyName
1:07:07 JSTL or EL Expression Language
1:08:08 HttpServletResponse httpServletResponseObject
1:08:33 amazing features of Spring Boot in next video
1:08:51 class ModelAndView
1:09:19 replacement of both HttpServletRequest httpServletRequestObject and HttpServletResponse httpServletResponseObject
1:10:10 HttpSession httpSessionObject as second param to home method
1:11:55 RequestParam annotation to handle incoming request keyName which does not match with property name
1:13:40 class ModelAndView modelAndViewObject within class HomeController with method home which will return modelAndViewObject which then will change the return type of method home to class ModelAndView
1:14:30 modelAndViewObject addObject method has two params ie keyName and dynamicValue
1:14:54 modelAndViewObject setViewName
1:14:14 HttpSession httpSessionObject replaced by ModelAndView modelAndViewObject
1:16:12 Model Object
1:16:36 class Alien created in different src folder
1:16:44 definition of Alien
1:18:44 home method to have Object of class Alien as its param
1:19:00 modelAndViewObject addObject method has two params ie keyName and Object of class Alien
1:19:19 JSTL to include keyName with propertyName from Object of class Alien
1:20:29 MVC using JPA and H2
1:21:00 dependency web jpa h2
1:21:51 app to add aliens and fetch aliens
1:22:10 model folder created with class Alien
1:22:30 Alien is POJO
1:22:44 webapp folder created
1:24:00 class SampleController created in controller folder
1:26:26 application properties file to have key spring h2 console enabled and its value as true
1:26:33 application properties file to have key spring datasource platform and its value as h2
1:26:52 application properties file to have key spring datasource url and its value as jdbc h2 mem dbName
1:27:27 way to access h2 on browser
1:28:12 class Alien has annotation Entity
1:28:18 class Alien property has annotation Id
1:29:10 data sql file created
1:31:31 dao folder created and DAO interface created
1:32:00 interface DAO extends CrudRepository with class POJO as its 1st Type and Data type of PrimaryKey of POJO as its 2nd Type
1:32:42 DAO dao inside class SampleController
1:32:52 DAO to have annotation AutoWired
1:33:43 dao save Object of class POJO
1:35:29 MVC using JPA and H2
1:36:50 Service Layer requirement
1:45:12 MVC using JPA and H2 Query Methods Example
1:52:33 Query annotation
1:52:52 JPQL
1:53:23 Question mark in JPQL
1:54:43 MVC using JPA H2 REST Example
1:56:00 Web Service by REST
2:01:30 PathVariable annotation
2:03:23 JpaRepository
2:04:14 Optional with type class POJO
1:58:48 Conversion of iterable output by toString method
1:59:09 ResponseBody annotation
2:01:01 wildcard in RequestMapping annotation
2:02:22 MVC using JPA H2 REST Example
2:04:00 with JpaRepository the return type is List and therefore toString method removed 2:04:30
2:06:16 mvnrepository jackson-core dependency
2:06:55 Usage of Postman in MVC using JPA H2 REST Example
2:10:40 Content Negotiation
2:11:29 Content Negotiation Data JPA MVC H2 REST
2:13:13 Default output format of Spring Boot is JSON
2:13:31 Headers Accept application xml
2:15:15 mvnrepository Jackson Dataformat XML dependency
2:17:17 within class Controller RequestMapping to have path and produces curly braces application xml curly braces wherever return type is List
2:19:36 POST Example
2:21:11 Body form-data key value
2:22:44 PostMapping annotation
2:23:03 GetMapping annotation
2:23:13 interface JpaRepository does NOT require ResponseBody annotation
2:23:23 if we remove ResponseBody annotation then we replace Controller annotation by RestController annotation
2:26:00 Body raw JSON 2:21:11
2:27:07 within class Controller PostMapping to have path and consumes curly braces application json curly braces wherever return type is POJO
2:27:35 PUT DELETE Example
2:30:40 DeleteMapping annotation has attribute id in curly braces
2:30:30 daoRef delete pojoObject
2:34:34 Put operation in Postman - Body raw JSON
2:35:35 class Controller can be Obsolete
2:36:30 REST Example
2:38:38 dependency RestRepositories jpa h2
2:39:39 application properties to have key value corresponding to h2
2:40:20 resources folder to have application properties file and data sql
2:41:21 class POJO to have Entity annotation
2:41:30 property id to have Id annotation and GeneratedValue annotation
2:42:02 interface DAO extends JpaRepository with 1st type POJO class and 2nd type Data Type of Primary Key
2:43:23 RepositoryRestResource annotation with 1st param collectionResourceRel and 2nd param path
2:45:45 Post operation on Postman
Thanks
9:39 d i
11:11 Component annotation
11:33 Autowired annotation
28:28 Component annotation
Your way of teaching is unique. Instead of just showing the program flow you actually go deep into each concept. Thank you for making everything easily accessible.
I spent weeks in a boot camp with no one being able to explain dependency injection. I finished applications where I had no idea what @autowire meant and I've seen so many videos that struggled to explain this to me. In 35 minutes I learned concepts that I had no idea about after multiple weeks of learning them. Between the simple drawing and the simple application example I just had a massive leap forward in understanding. Thank you very much.
DON'T GO NOWHERE ELSE ON UA-cam IF YOU ARE SEARCHING FOR A GREAT SPRING TUTORIAL IT IS EXPLAINED VERY VERY VERY WELL HERE !! Thanks to this guy for such a great effort :D
I've been struggling to find a good youtube source that teaches me Java. No BS, you are that source. I've seen a ton of your videos and I hope you don't stop. Thanks man.
Yes this was the best Introduction to SpringBoot I've seen on youtube thus far. Good work Navin!
Finished the entire thing today - from not knowing literally anything about java, apis or spring - i feel a million times more comfortable with this area. Thank so much.
Hey Naveen , I can't express how much I feel grateful for this video. You just summarised the entire springjpa in one single video and that too so amazingly. Content like this makes the learners appreciate genuine teachers like you. God bless you man...
Thank you so much! ❣️ I am a July 2021 passout and am not from a CS/IT background, but was interested in Computer Science, hence I joined Accenture at a package of 4.5 LPA. After 6 months of working on myself, I've finally received an amazing offer, a 400% hike, from a product based company. Your videos helped a lot, I don't come from a very good financial background, hence it means a lot to me. Thank you so much! ✨
bro ur comment gave me confidence and i am a fresher i cant start web development properly please give some insights
Hey did u got job without degree
Hey can I contact you I am looking for some info on this field and looking for job
A really really great effort realised wonderfully. It's amazing to see such rich content and huge effort being released for free. Keep up the great work. The next generation of coders owe you.
should i know spring before i can watch the above spring boot tutorial
@@rishabhjoshi3092 learn spring mvc that will be good.
Indeed
@@kns7270I want study Springboot but I am not finding any good resources to study, can you just help
I've seen the first 45 min and I'm loving it. Finally, a tutorial that truly explains the concepts of Spring Boot. You are a legend!
Zapata I have been trying hard to understand.. but his dependency on IDE is like a broken bridge .. you are lucky to benefit ..
You know cranes can not drink soup from a dinner plate Telsku don`t have jars
Pl
Do i need to learn spring first or i can start with your spring boot video. Please reply
@@rishabhjoshi3092 I think you can start learning Spring Boot that will cover things found in the Spring framework.
You are a life saver bro. I watched your videos throughout my university days and even today when I am working as a professional, you are still the most relevant guy.
This is the first time I completed any tutorial at once. The reason is that.. You have explained it in very well manner which made it so interesting. It's very hard to find so many important concepts in just one tutorial...Thank you so much. Keep sharing knowledge👍📚
@Suhel Pakhali Hi, Spring is a framework and it's always good to know what all configurations we need to do while working with spring core. Spring boot is placed on top of Spring core. In spring boot we don't need to make lot of configurations just like Spring. In order to understand why we are doing "something" in that way only or what things we are replacing or achieving by doing this way, you should go through the Spring Core, Spring MVC concepts once (DI, XML/Annotations based configurations, MVC) Navin has already shared 1-2 hours tutorials for the same)
I've been doing web development for 7 years. I've used all types of languages: scripting, OOP, strongly, loosely typed, interpreted. There is nothing like the feeling of writing and building in Java. Too easy to reason about is a good thing. It's srsly too easy to reason about because of the architecture that OOP gives. Love it
This was the most useful and friendly Spring Boot tutorial I have found on the internet. Thank you so much!
I have no words to express my gratitude to you, thank you so much. I have learnt a lot in these 3 hrs. more than 3 years in my college days.
I love the fact you used the familiar JSP, Servlet and gradually make transition to MVC and REST.
Helped me tons to understand what Spring Boot does.
ధన్యవాదములు రెడ్డి గారు 🙏🏾. చాలా మంచి కంటెంట్ పైసా అడగకుండా ఇస్తున్నారు .
I have seen many other tutorials for spring and spring boot .. but nobody explained like this. this video makes me completely understand about DI, Autowiring, and spring container. and spring boot .. a very good explanation..and an amazing video.. thanks a lot!!
I just pause the video and want to tell you a BIGGGGGGG THANK YOU SIR. Really in Spring i saw so many videos to understand this but first time i came on your channel and you are superb, i have no words so thankyou
Do i need to learn spring first or i can start with your spring boot video. Please reply
After of days trying to understand Spring, i finally did because of this video.Thank you very,very much.
dont fool yourself, kiddo
@@duzypokoj1151 Go home
@@duzypokoj1151 what do you mean
@@ujjwaljain7616 spring is so complex and big that you cant possibly understand it in a few days
@@duzypokoj1151 whatever has been taught in this video, is that enough or there are more things to know about it.
I was working with spring and spring boot since one and half year but I don't know the exact concept of dependence injection and this video made it clear for me thaks so much.
do i need to learn spring framework earlier to understand spring boot?
@@shanureddy9001 Ya it is needed to learn spring first it will make the concepts of spring boot more clear
@@shanureddy9001 It's not necessary but it will show a clearer picture of how stuff works if you have knowledge of Framework before learning Boot. Since All Boot does is get rid of the configuration files that you need to make in Framework manually.
@@shanureddy9001 spring boot is nothing but spring but it has made life easier by doing so many things for us
Sir, you are a legendary teacher. I paused my video to just comment on this because I am extremely satisfied with your teaching and I am understanding every difficult detail to point out just because of your clarity in teaching.
I've just finished watching the whole video... This is a masterpiece! It's the best Spring Boot Video that I've ever watched and I left feeling very comfortable with Spring Boot after days of struggle.
Thanks for sharing all of this, Mr. Navin. You're amazing!
Such an excellent video covering concepts from Spring DI/IOC, MVC, Boot and Spring Data Rest. Thanks a lot!
OMFG What a freaking GREAT resource!! Thank you thank you thank you! Over the last 2 weeks I have probably tried 2 dozen tutorials, videos, documents and and blogs on Spring Boot, and each one left me more confused than when I started! This explains everything, why we need it, how to use it and what it's doing in the background. I'm halfway through the aggregated full course video, and already can do more in Spring Boot than I could with all the other resources combined. This is wonderful.
Indian UA-camr to the rescue!
You are an awesome teacher with great communication skill. I have gone through only initial few minutes of your tutorial, but had to pause and add my comments. Keep your great work going. You are, for sure, enlightening many developer's life. THANKS
I like this kind of explanation where we know what is happening behind the scene ! Thanks
I'm starting a new job next week that uses SpringBoot/Spring/Hibernate. I've watched your videos on these topics and feel a bit less lost now. Cheers bro
how do you feel lost after this video? Please provide specifics, maybe we can help or point you in the right direction. This video was very coherent and simple, IF you have the prerequisite knowledge (that's a big IF and might be your hang-up).
@@keeganfisher1900 bro, calm down. He is saying "bit less lost" not "lost" after watching his videos.
I have tried many tutorials for Spring Boot before yours, but I would admit your tutorial is crisp and simple. Liked the way all the examples have been designed, easy to follow along. Thank you for creating this amazing content.
Hi Navin. I like your multiple explanation. Thank you for your valuable work. I really appreciate it.
The way of the Progress in the tutorial is just awesome . The way he first does a mistake show us the error it will cause and how to get rid of it makes us really aware of what goes wrong and how we should avoid it. One of the best tutorial for beginner and experienced too for revision! Big thumbs up!
Bro iam a student will you guide me . I know about java and basic dsa like arrays, strings,linkedlist,stacks etc and basic algorithms . What are the pre- requist to learn spring boot. Should I learn html , angular any more things ?? Please reply and guide me
Quality content❤️So kind of him to put it up on utube for free😁
god,..... this is i been waiting for clean clear and perfect... you are a genius instructor
I never in my life watched this long video completely...Kudos
I am wondering, how excellent your teaching technique is !!!
Great Tutorial Sir!
Anyone having errors after adding data.sql (1:29:30)
Just add this line to application.properties
spring.jpa.defer-datasource-initialization=true
Thanks Me Later
Omg thanks I was stuck here
omg ! even i was stuck...and getting pissed. thanks man
Well, I was also stucked here. Searched it on StackOverflow and came here to provide a solution. Glad to find that you already provided it!
thank you so much, it worked!
I can't store the data through website 🥲
I really appreciate you Mr. Navin, I am zero in Spring boot, I searched many tutorial, but according to my knowledge you are my best spring boot master, keep your services, God bless you
Navin, your way of teaching is really cool ! Having worked in the industry, what I like about your method of teaching is that you create an exception and then fix it. This way fundamentals get clear why we are doing what we are doing. It also helps debug issues in real time applications. Increases confidence level. I enjoyed watching and learning your videos thoroughly. It is said how we do anything is how you do everything. All your videos I have gone through are simple, complete and best part is short :) I wonder if your free classes are of this quality, how would your paid classes be!
The best Spring Boot course available on youtube thank you Navin for such a wonderful free course.
Just finished. Great tutorial. Every example is fully-functional, explained coherently, and introduced in a logical order. Thanks again, Telusko!
Usually I don't write comment on videos, but you are the best person in the world who has covered all basic concepts for beginners, watched a lot of videos but you explained the best, I am very thankful to you & love from Pakistan.
cant believe. It's still gold in 2021. Thank you sir
A Big Thanks for this session I'm getting each & every concept in deeply
Thank God you have come back to the Java world 😃😃😃
One of the best online tutorial to learn spring boot. Really appreciate Navin's effort.
You sure do know how to teach. One of the best tutorials. Guru, accept my salaam
Do i need to learn spring first or i can start with your spring boot video. Please reply
Such a Hardworker.... Thanks for these videos.... Awesome explanations...
dear sir,
actually your amazing..i have no word's for your teaching ability..i'm a just startup developer. don't know any thing java except hello world[but i have some knowledge on NodeJS, that's also little bit. but you make me very confident on production too..actually i love you sir..god bless you sir..i read many tutorial,watch many videos but nothing compared to yours..wow..actually now ,i want to watch and learn whole videos by you..
I feel like you sandun so I love you Navin
You should not be learning Spring Boot if you don't know anything about Java. Learn Java first and be familiar with it before introducing the complexities of Spring and Spring Boot.
@@amhokies Exactly! This is not for beginners. Fortunately, this channel also has the best Java tutorials in UA-cam so you can keep up!
Since this tutorial is beeing a bit out of date due to the new Spring framework beeing released there is one step/line of code that needs to be added in application.properties at 1:27:00. That is "spring.jpa.defer-datasource-initialization=true" - since my newer spring framework was throwing out an exception "table ALIEN not found" and this new line in app properties managed to create database on initialization with Entity annotation.
Full exception:
Error creating bean with name 'dataSourceScriptDatabaseInitializer' defined in class path resource [org/springframework/boot/autoconfigure/sql/init/DataSourceInitializationConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #1 of URL [file:/C:/JavaProjects/Servlet2/bootjpa/target/classes/data.sql]: INSERT INTO ALIEN VALUES ('101', 'TIN'); nested exception is org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "ALIEN" not found; SQL statement:
Usefull documentation where I found an answer: docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto.data-initialization
Anyway sir, thank you very much for this excellent content!
Thanks...
Thanks bro
I can't add the data through website
thanks bro....
this comment has to get pushed to top
Explained everything in such a simple manner.
Loved this video.
Thank you for giving us clear view of Spring boot.
This is for those who are trying to create a jsp file
On your, Spring Tool Suite go to
1)Help Menu
2)Select Eclipse Marketplace
3)Search and install Eclipse Enterprise Java And Web Developer Tools and then restart
Amazing Amazing! Now I became the big fan of sir Navin..He is a Magician....His teaching style is Amazing...Love from Kashmir...Thank you soo much sir.....
Whenever I have doubt or need clarification in any technology , always my google search will be for your videos. Your way of teaching is simple & deep . Thank You Master !😀
Great work Telusko ! Absolutely delicious stuff ! No one can easily explain the concepts of spring container , dependency injection & mapping this easily. Feeling much more confident in spring boot concepts especially JPA stuff & power of annotations.
Man, God Bless you, you made a really awesome spring tutorial, I learned a lot. Thank you.
Watched the whole video.
Amazing effort and lot of knowledge to gain
Thank you so much for helping us out.
Working with java from last 1.5 years and your videos helped a lot.
:)
I am hipnotized for the first 40 min untill he ask for feedback eventually. Awesome way of binding the crowd Sir. Boring subject becomes impressive.
The explanation about Inversion of Control was the best one I've ever encountered
hey telusko, your way of teaching makes me the tough concepts very much easy n clear...you earned my heart
A great teacher indeed. Thanks a ton for such valuable efforts.
In the last Part. "19 Spring Boot Data REST Example" , you need to add "spring.jpa.defer-datasource-initialization" to application.properties.
Otherwise the Script runs befor the table created.
application.properties looks like ...
spring.h2.console.enabled=true
spring.sql.init.platform=h2
spring.datasource.url=jdbc:h2:mem:testdb
spring.jpa.defer-datasource-initialization=true
Thanks for this comment even I wasted 1 hour searching for the error as table not found in chrome
after seeing your comment i added the last spring property and then i was able to create data in the table
any one facing the error for table not found then do add the last property "spring.jpa.defer-datasource-initialization=true" and then run
@@sagarikamohanty6177 omg same!!!
Thank you so much
You are the great teacher even i have purcheched the
course but not understand anything but by your video i got more confidence in spring boot thank u again sir
Not any leader,not any politician nor any hero is making any significant impact in the real world but people like you are.
Awesome Tutorial Telusko.
Thank you for sharing your knowledge with the community, people like you are who are what makes us reach further.
Thanks Navin. This is fantastic. I've been trying to grasp SpringBoot and other Java concepts such as interfaces, anonymous classes, and lambda and just not got very far. But your videos explained it all.
Big thanks to you sir for helping us by providing this premium content in free of cost ♥️
This Tutorial is really Awesome. I really ThankYou Navin Reddy for this wonderful tutorial.
This is the best tutorial for beginners who really dive into spring boot . The way he is teaching the concept is excellent and he make them easy to undersatand .....
Why are you so amazing!!!!! Thank you so much for making it free. Looking forward to more .of your videos!!!!
It's far more better than paid courses ,love you man ...you are the saviour
I have bought his paid course worth for the money
I learned some extra things like dao level, thanks Navin garu..
Do i need to learn spring first or i can start with your spring boot video. Please reply
@@rishabhjoshi3092 Spring core first.
Just Completed the course with lots of confidence............ THANK YOU NAVIN
So in 2022 if you get error that sql did not found your table add this line of code to the properties:
spring.jpa.defer-datasource-initialization=true . It makes sure that the schema (your table) is created first before the data.sql file is executed.Hence that could be your only problem. AND i wanna thank this man for all the information provided for FREE . A world changer for sure :)
it's very informative, right to the point. Greatest video on Spring by far I have seen till now. Keep it up
Excellent explanation. Loving your videos...I'm totally new to Spring (boot) and you are making the concepts understand in a simpler terms than using technical jargons...
Commonly Used Shortcuts
for Eclipse/STS
Alt+Shift + O = Constructor
Alt+Shift + R = Getters and Setters
Alt+Shift + S = toString
do i need to learn spring framework earlier to understand spring boot?
@@shanureddy9001 Yes it would be much easier to grasp all the terms used in the BOOT
2 to 4h is more than enough
@@shanureddy9001 yes
Blessed to have found you. Contents are precise and crystal clear. Thank you!!!!
could you help how to create a project in spring boot
Navin reddy you beauty ....! Absolute Legend ....! Best video on you tube for spring boot to start with ....!
Thank you for this excellent video. This is the best tutorial video for Spring Boot. You have explained it in a very easy to understand way. Thanks again.
Is this good for complete beginners?
Thanks a lot sir.. I am from non cs it background and you made coding interesting for me. Your tutorials are the best😇
Do i need to learn spring first or i can start with your spring boot video. Please reply
@@rishabhjoshi3092 do spring first and then go for spring boot
Thanks, Sir. It's a fabulous video covered a lot of things and made our life easier.
Perfect U r Awesome Man U r Always My favorite Instructor
U r just "Injecting Spring to the viewers"
Great job
Love the Way you Teach
Wow, I got to learn so much from you Navin Sir. The way you explain the features is so easy. Must share and recommend video
Really loved this tutorial. I appreciate you explaining your thought process and being empathetic to our thought process when trying to learn.
This is so amazing, very easy to understand, thank you Sir!
Those who are facing problem with H2 database Initilizaion :
1) data.sql --> just rename the file to import.sql and re launch your application.
2) spring.jpa.defer-datasource-initialization = true
3) don't use double quotes ("") use single quotes('')
Thanks man
Thankyou very much
@@NirajKumar-wq2gc I'm glad that it found you helpful
@@nishantkhatri8004 I'm glad that it found you helpful
Thanks bro.I literally searched in google for 2 days
This tutorial is Simple, Powerful and Informative, If you have basic knowledge on WebServices, REST in Java or any other languages, this tutorial will help you learn and write code for all the main concepts in Spring Boot. Thanks Navin Reddy.
Thank you so much Navin for making this wonderful video. It means alot.
Thank you for helping us by making this kind of videos sir.. coming with advanced technologies and Explanation is awesome it's helping me alot... Thank you sir😃
You have made my day. I am truly enjoying your video, and the way you break up different concepts into simple to understand terminology. I love it man! keep it up
Do i need to learn spring first or i can start with your spring boot video. Please reply
For those who may be having trouble on initializing database with data.sql and having Table not found error .... put below property on your application.properties file :
spring.jpa.defer-datasource-initialization=true
I added that, but still not helping. can you help pls?
Loved the way how you are building the concepts by highlighting the need for the solution first.
Thank you very much. Because of your tutorial i finally switched my job with good package🙏
Superb Tutorial, very clear & easy to understand your teaching pattern
Thanks Telusko, you save my life understanding the Spring Boot concept 😂
Thank you! I really need this tutorial, it's 3-day old.
Awesome mama i love the way you teach the long spring boot frame work in short and understandable......By this now iam good to start with spring boot with all basics...Love youuu💌
Just Finished ,A very Nice tutorial . You have an amazing Teaching Style. Thank you