in the <context:component-scan base-package=
is there any diference in doing com.mycompany.proyect.dao
or com.mycompany
. I have this doubt because in both ways works. I have a project A that access some data, this project is packed as a jar, then the project B imports project A. Both have different package structure like com.mycompany.proyectA.dao
and com.mycompany.proyectB.dao
. So, to make the component scanning work. i declared the context:component-scan
as follows com.mycompany
. I must to say that this declaration is working, but in every example in spring (or other places) always use com.mycompany.dao
. Are there some issues working in this way?
Thank you.