原文:Spring3系列1 -- HelloWord例子

Spring 系列 HelloWord例子 一 环境 spring framework . . .RELEASE jdk . . Maven . . eclipse jee juno SR win 二 用Maven创建项目 然后转换成Eclipse项目:mvn eclipse:eclipse 或者直接在Eclipse中创建maven archetype quickstart项目。 三 编辑pom. ...

2013-11-25 14:03 1 6979 推荐指数:

查看详情

Spring3系列3 -- JavaConfig

Spring3系列3-JavaConfig-1   从Spring3开始,加入了JavaConfig特性,JavaConfig特性允许开发者不必在Spring的xml配置文件中定义bean,可以在Java Class中通过注释配置bean。 当然,你仍然可以用经典的XML方法 ...

Thu Nov 28 21:07:00 CST 2013 1 4232
Spring3系列9- Spring AOP——Advice

Spring3系列9- Spring AOP——Advice   Spring AOP即Aspect-oriented programming,面向切面编程,是作为面向对象编程的一种补充,专门用于处理系统中分布于各个模块(不同方法)中的交叉关注点的问题。简单地说,就是一个拦截器 ...

Wed Feb 19 23:51:00 CST 2014 0 3453
Spring3系列2 -- 松耦合的实现

Spring3系列2 -- 松耦合的实现 一、 环境 spring-framework-3.2.4.RELEASE jdk1.7.0_11 Maven3.0.5 eclipse-jee-juno-SR2-win32 此例不必重复创建项目,上接 ...

Tue Nov 26 21:48:00 CST 2013 0 2685
Spring3系列5-Bean的基本用法

Spring3系列5-Bean的基本用法 本篇讲述了Bean的基本配置方法,以及Spring中怎样运用Bean。 主要内容如下: 一、 Spring中Bean的相互引用 二、 Spring中给Bean属性注入value 三、 Spring Inner ...

Sat Jan 25 00:25:00 CST 2014 0 13740
Spring3系列13-Controller和@RequestMapping

Spring3系列13-Controller和@RequestMapping Controller返回值,String或者ModelAndView @RequestMapping关联url @RequestMapping的属性 一、 Controller返回值 ...

Fri Apr 11 18:09:00 CST 2014 3 22341
Spring3系列8- Spring 自动装配 Bean

Spring3系列8- Spring 自动装配 Bean 1. Auto-Wiring ‘no’ 2. Auto-Wiring ‘byName’ 3. Auto-Wiring ‘byType 4. Auto-Wiring ...

Fri Feb 14 00:08:00 CST 2014 0 14348
Spring3系列12- Spring AOP AspectJ

Spring3系列12- Spring AOP AspectJ 本文讲述使用AspectJ框架实现Spring AOP。 再重复一下Spring AOP中的三个概念, Advice:向程序内部注入的代码。 Pointcut:注入Advice的位置,切入点,一般为某方 ...

Thu Mar 20 19:52:00 CST 2014 0 4092
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM