1.import Introduction Profile: <import resource= "Conf/partner/partner-spring.xml" ></import> using relative paths
2.<context:component-scan>
Spring can automatically scan Java files under Base-pack or under the sub-package, and if scanned into classes with annotations such as @component @[email protected], register these classes as beans (see:/HTTP) blog.csdn.net/chunqiuwei/article/details/16115135)
3.<context:annotation-config/> (Details view: http://www.cnblogs.com/iuranus/archive/2012/07/19/2599084.html)
4.<tx:annotation-driven/>
The driver for this annotation is @transactional, which uses transaction configuration claims based on annotations, so that in a specific application you can specify which methods are used for transactions.
@Transactional annotations can be applied to interface definitions and interface methods, class definitions, and public methods of classes.
The spring team's recommendation is that you use @Transactional annotations on specific classes (or methods of classes) rather than on any interface that the class implements.
5.<task:annotation-driven> <task:scheduler> <task:executor> Timers
6.<context:property-placeholder> http://blog.sina.com.cn/s/blog_4550f3ca0100ubmt.html
This article is from the "small corner of Big Cheng" blog, please be sure to keep this source http://dachengxi.blog.51cto.com/4658215/1631873
Spring Learning Record (i)