Spring Core Tutorial 6 | Annotation Based Configuration

preview_player
Показать описание
Spring Core Framework using Annotation Based Configuration.
It is configured using maven.
Component Annotation

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :
Рекомендации по теме
Комментарии
Автор

Always grateful to you Naveen Sir. I am a great fan of you. Huge respect from Georgia, USA :)

kalpanabejawada
Автор

I m watching now.. I was a student when u made it..Its give me a un updated feeling
Waiting for your 2021 latest update video on spring..

prakashgour
Автор

Thanks very much for the technical videos, they're simple, at the same time informative covering all key points. I refresh my concepts watching your videos.

svangara
Автор

Best Spring tutorial on the internet!!! Great Job

tahafiroz
Автор

but in this case we are changing in java file for car and bike? so it will also need re-compilation?

krishnaverma
Автор

It is a nice tutorial. Thanks for sharing. good work.

krishnaverma
Автор

Hi Navin, I am very big fan of ur work. I have a small question here, we are changing the parameter as car, bike etc which is ultimately changing the source code but you said in last video that we should not change the source code.

Автор

done

thought of posting it here for other people ..

fslfaisal
Автор

when i am creating the constructor it is causing the error the bean is not getting created ?

anubhav.codess
Автор

Navin,


I did everything the same as you did, but im getting the error:

Line 8 in XML document from class path resource [spring.xml] is invalid; nested exception is lineNumber: 8; columnNumber: 62; The prefix "context" for element "context:component-scan" is not bound.

shashgo
Автор

Bro, in annotation approach still dependency is there.
If we want car object we need to change in main method.
According to spring we should not change main method right?
Is there any alternate solution?
Can u please explain my dought?

saisshekar
Автор

class not found exception occured in my program even I have create file spring.xml, , then after it is throwing exception that spring.xml cannot be opened because it does not exist

RishabhSharma-hlvg
Автор

Thank you for tutorial

Getting this error:-
The prefix "context" for element "context:component-scan" is not bound.

fslfaisal
Автор

how to create the object of a class which contains @Autowired reference and the referece contain another @Autowired reference ?

peedrap
Автор

get this error despiste same code, any suggestion : No bean named 'bike' available

NoName-iztd
Автор

Create a playlist of spring core tutorial.

amnhere
Автор

Again we are modifying the right side of a code which is car or bike so why not just to make an object of car or bike like you were doing in earlier 2 video

pradeepkumarmishra
Автор

Navin, I still dont get the concept of beans or depedency injection. In a pure java application, you can use a parent class and then set it to equal any of its subclasses and then use the name of the parent class (which can be set equal to its subclass somewhere else.) Here we are doing the same thing but instead of defining within a class what object the bean is equal to, we are doing it in an xml file. So what is different, why use spring

shashgo
Автор

I don't understand the purpose of annotation based config if we have to again configure the class in java code ... I thought the whole purpose of Spring was to allow configuration OUTSIDE of the java classes so that recompilation was avoided and we inject what we need through config files.

gaatutube
Автор

I am getting application context cannot be resolved error !can anyone help me?

udaysabbisetty
join shbcf.ru