Skip to content

Instantly share code, notes, and snippets.

@charlesferreira
Last active April 3, 2019 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charlesferreira/203eb8b83a8ab7aa3cd775367cd907f5 to your computer and use it in GitHub Desktop.
Save charlesferreira/203eb8b83a8ab7aa3cd775367cd907f5 to your computer and use it in GitHub Desktop.
Basic Spring's ApplicationContext XML configuration with annotation support
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:c="http://www.springframework.org/schema/c"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:component-scan base-package="dev.charlesferreira.prospring5.ch3.annotation"/>
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment