I could not find documentation on beans xml configuration so I ask here: Do the "base package" in
<context:component-scan base-package="" />
is conceptually the same package as in Java?
For example, in my src/main/java (project explorer view in Eclipse, flat package presentation), say I have 4 packages com.amazon, com.amazon.entities, com.amazon.services, com.amazon.repositories. In Navigator view I have just "amazon" folder, inside it I have 3 folders (entities, repositories, services) and one java class MyClass.java. So if I write "context:component-scan base-package="com.amazon"", what will be scanned? Just MyClass.java, or also everything inside (entities, repositories, services) sub-folders as well?