Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use the Spring application context xml

 
Alejandro Barrero
Ranch Hand
Posts: 335
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I managed to learn a lot on Spring in the last two months (I have studied many Spring books in pdf). I am working on a project developed with Spring MVC using annotations and I am managing. However, I keep trying to learn and I am having problems with Spring application context xml; I have learned how to use it in dependency injection and how to use it with annotations with <context:component-scan base-package=”com.habuma.pirates” />. But there are so many options; is there a reference where I can find all the options, tags, what they mean and how to use them? I have explored the web without results. I can't find the answer in Spring Reference 2.5/3.0.

I just found a lot of information in "http://static.springsource.org/spring/docs/2.5.x/reference/index.html" section 3.8 and following sections. But perhaps there is more.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try refcardz.dzone.com

Search for the Spring ref cards, there is one for xml configuration and one for annotations.

Mark
 
Alejandro Barrero
Ranch Hand
Posts: 335
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Mark.
 
shakir hussain
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can read "Spring 3 in Action" if not read.
 
Alejandro Barrero
Ranch Hand
Posts: 335
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Shakir; that's one of the many books I have.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic