码迷,mamicode.com
首页 >  
搜索关键字:cdi aop    ( 5802个结果
Spring代码研究-前言
好久没有写过博客了 看看上篇,也是唯一的博客是3年前刚工作写的,似乎过去了很久 一次面试,面试官突然问我,为什么要用Spring,我一时语塞,不知道从何说起 呜呜弄弄,Spring提供的DI/IOC,AOP,MVC以及对与Hib...
分类:编程语言   时间:2014-11-26 19:24:40    阅读次数:218
spring AOP 配置
分类:编程语言   时间:2014-11-26 18:46:25    阅读次数:176
Spring的IOC
好几次面试都遇到面试官问:"你简历上说你熟悉ssh框架,那你简单谈谈spring中的ioc,aop等",遇到这类问题我真的很后悔之前为什么不好好打基础看概念然后在实践(因为学这个的时候我都是边看视频边实践的,所以过了一段时间概念性的东西很快就忘记了)。现在来总结下IOC是个什么东西,呵呵。 概...
分类:编程语言   时间:2014-11-26 18:41:17    阅读次数:287
Spring AOP的简单示例
配置文件 service类:package com.zhiguoguo.service;import org.springframework.stereotype.Component;@Componentpublic class HelloService { pu...
分类:编程语言   时间:2014-11-26 15:46:40    阅读次数:311
spring mvc DispatcherServlet详解之前传---FrameworkServlet
做项目时碰到Controller不能使用aop进行拦截,从网上搜索得知:使用spring mvc 启动了两个context:applicationContext 和WebapplicationContext。首先我们来了解applicationContext 和WebapplicationConte...
分类:编程语言   时间:2014-11-26 14:11:45    阅读次数:360
Spring AOP + AspectJ Annotation Example---reference
In this tutorial, we show you how to integrate AspectJ annotation with Spring AOP framework. In simple, Spring AOP + AspectJ allow you to intercept me...
分类:编程语言   时间:2014-11-25 22:59:30    阅读次数:301
spring aop 如何切面到mvc 的controller--转载
原文:http://yjian84.iteye.com/blog/1920787网上搜罗半天,不知道什么原因,看了源码,好像他们说的controller 是不受代理的,也对哈,不知道怎么办,于是在http://stackoverflow.com/questions/17834958/spring-a...
分类:编程语言   时间:2014-11-25 22:42:09    阅读次数:174
Spring切入点表达式常用写法
Spring AOP 用户可能会经常使用 execution切入点指示符。执行表达式的格式如下: execution(modifiers-pattern? ret-type-pattern declaring-type-pattern? name-pattern(param-pattern) thr...
分类:编程语言   时间:2014-11-25 17:48:08    阅读次数:212
Spring AOP配置
一、XML配置方式 1.创建一个Service类 package com.spring.useage.service; public class UserService { public void save() { System.out.println("save a user."); } publ...
分类:编程语言   时间:2014-11-25 12:24:57    阅读次数:253
aop实现
****1,使用动态代理实现aoppublic interface UserDao { void save();}public class UserDaoImpl implements UserDao { private String name; public void s...
分类:其他好文   时间:2014-11-24 22:17:03    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!