【发布时间】:2012-09-28 21:23:18
【问题描述】:
如果使用基于注释的配置,您将在 POJO、DAO 和接口、实现的接口类上使用哪些注释。我不熟悉在 applicationContext.xml 中使用我知道的注释,您将包括
当使用注解时,servlet-context.xml 中定义的内容是否保留您的 bean 定义,例如。
<bean name="/welcome.htm" class="com.test.WelcomeController">
<property name="welcomeManager" ref="welcomeManager"/>
</bean>
我正在阅读 Springsource 文档,但没有看到 POJO、DAO、接口和已实现接口的任何配置
【问题讨论】:
标签: java spring-mvc annotations