posts - 0,  comments - 0,  trackbacks - 0

一.Spring提供IOC和AOP降低应用组件的依赖性.
   1.Spring IOC
   
     1.1 依赖注入有三种方式:设值方法(setter-based),基于构建器(constuctor-base),和基于接口  (Interface-     base).Spring IOC目前支持前两种.
  
   1.2  访问Spring IOC通过两个接口实现
      1.2.1 BeanFactory位于org.springframework.beans.factory
      1.2.2AppplicationContext位于org.springframework.context
   1.3   IOC其他方面,自定义bean属性和监听事件
  2.Spring AOP
   通常有5个装备
  before ,throws,after,around ,introduction
 org.springframerwork.aop.MethodBeforeAdvice
 org.springframerwork.aop.MethodAfterReturnAdvice
 org.springframerwork.aop.ThrowsAdvice
 org.springframerwork.aop.MethodInterceptor
3 Spring Web
  org.springframework.web.bind
  org.springframework.web.context
 org.springframework.web.context.support
 org.springframework.web.filter
  org.springframework.web.jsf
  org.springframework.web.multipart
  org.springframework.web.multipart.common
    org.springframework.web.multipart.cos
 org.springframework.web.multipart.support
4 Spring DAO



posted on 2006-04-01 12:11 java实战开发 阅读(470) 评论(0)  编辑  收藏 所属分类: spring

只有注册用户登录后才能发表评论。


网站导航:
 
<2025年7月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

留言簿

文章分类

文章档案

搜索

  •  

最新评论