PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
Pankaj Shet wrote:Hi Craig,
Spring in Action is concentrated on which approach?
Annotation based approach or XML based approach?
I am used Xml based configurations and would like to learn annotation based approach.
Which version of spring does it cover?
I am a big fan of "in Action" series.
Hopefully I am one of the fortunate winners![]()
Regards,
-Pankaj.
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
Pankaj Shet wrote:Thanks for your Reply Craig, but I don't understand, why annotation based configurations are given more importance now-a days..
Maintainece is more easier in XML than in annotation based configs, as if any changes come in the project, we don't have recompile the java code when using XML,
but we do need to recompile when using Annotation based approach.
So what are the advantages of annotations over XML based approach?
One is ease of use, what are the others?
I will not go for annotations just because we are signed up to write a code in java...![]()
Regards,
-Pankaj
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
it's a bad idea to externalize all of it (it leaves open the possibility of someone screwing up the config post-build).
PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
Bill Gorder wrote:Ill add one more more to the pile. I just love being able to set breakpoints within my @Bean configuration without combing through the XML parsing code to find out where I need to set it
Spring Boot in Action - Spring made easy!
Spring in Action - Build powerful applications!
Build Talking Apps for Alexa - Add voice to your applications!
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|