1) you define beans in beans.xml so its not required to put interfaces in there. You are defining what instances of classes you want. You could for example define 2 beans of the same class.
2) yes it helps woth decoupling by making it easy to change the beans that your beans interact with
Main Topics
Browse All Topics





by: dravidnsrPosted on 2009-11-01 at 23:15:36ID: 25717509
http://www.vaannila.com/sp ring/sprin g-ioc-1.ht ml
.org/docs/ Spring-MVC -step-by-s tep/ part3. html
.org/examp les/core-c oncepts-ou r- example- in-spring- ioc.html
http://static.springsource
http://www.springbyexample
this is usefull for u ...