一。
web.xml
1.
loginFilter (Filter类)自己写的
2.
XXXDispatcherServlet (DispatcherServlet类)
1)
initstrategies() 罗bean ,初始化
2)InitMQ ---> InitConfig
<util:list id="" >
<bean class= "InitMQ" ?>
< />
二.
XXX-Server.xml
1.
<context: annotation-config
<context:componont-scan
@Component
@Repository
@Service
@Controller
2.
log4j
MethodInvokingFactoryBean
3.
MappingJacksonHttpMessageConverter
XXXAnnotationMethodHandlerAdapter
--WebContentGenerator
-->HanlderAdaper
-->Ordered
-->BeanFactoryAware
4.
InternalResourceViewResolver (prefix , suffix)
5.
PropertyPlaceholerConfigurer
P:lacation= "Web-Inf/jdbc.properties"
6.
Jndi JndiObjectFactoryBean
7.
AnnotationSessionFactoryBean
8.
HibernateTransactionManager
9.
HibernateJpaUtil
10.
StatelessProxyStore
11.
PersistentBeanManager
12.
自己写的 <-- Init Config -->
13.
<tx:annotation-driven />
14.
PersistenceExceptionTranslationPostProcessor
---------------------------------
考虑由
@PathVariable
@RequestMapping
@ResponseBody
去处理 url参数的 的问题;
或是拦截器
取代现时的 重写AnnotationMethodHandlerAdapter类
XXX平台的两份配置文件
猜你喜欢
转载自ap0406708.iteye.com/blog/1416271
今日推荐
周排行