tuoxinquyu的博客
tuoxinquyu · 共 6 篇文章
flex4 整合java ee 练习——HelloWorld
一、修改 web.xml文件,添加如下代码 <display-name>BlazeDS</display-name> <description>BlazeDS Application</description> <!-- Http Flex Session attribute and binding listener support --> <listener> <listener-class>flex.messaging.HttpFlexSession</listener-class> </listener> <!-- MessageBroker Servlet --> <servlet>…
2012-04-12 09:48 · flex4 · 评论(0)
Spring AOP Example – Pointcut , Advisor
In last Spring AOP advice examples , the entire methods of a class are intercepted automatically. But for most cases, you may just need a way to intercept only one or two methods, this is what ‘Pointcut’ come for. It allow you to intercept a method by it’s method name. In addition, a ‘Pointcut’ mus…
2012-03-27 16:09 · spring aop · 评论(0)
Spring AOP Interceptor transaction is not working
Problem The Spring AOP transaction is not working in following interceptors? <bean id="testAutoProxyCreator" class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"> <property name="interceptorNames"> <list> <idref bean="urlInterceptorInsert" /> <idref bean="urlInterceptorCommi…
2012-03-27 16:07 · spring aop · 评论(0)
Spring AOP + AspectJ annotation example
In this tutorial, we show you how to integrate AspectJ annotation with Spring AOP framework. In simple, Spring AOP + AspectJ allow you to intercept method easily. Common AspectJ annotations : @Before – Run before the method execution @After – Run after the method returned a result @AfterReturning –…
2012-03-27 16:02 · spring aop · 评论(0)
Spring AOP + AspectJ in XML 配置示例
In this tutorial, we show you how to convert last Spring AOP + AspectJ annotation into XML based configuration. For those don’t like annotation or using JDK 1.4, you can use AspectJ in XML based instead. Review last customerBo interface again, with few methods, later you will learn how to intercept…
2012-03-27 15:36 · spring aop · 评论(0)
cxf应用--通过接口将数据保存到数据库
服务器端代码: ITestSendData.java package testcxf; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.jws.soap.SOAPBinding.Style; import pojo.TestJmsCxf; @WebService @SOAPBinding(style=Style.RPC) public interface ITestSendData { public String getString(String str); public void te…
2012-03-13 17:14 · cxf · 评论(0)