spring aop 如何切面到mvc 的controller--转载
原文:http://yjian84.iteye.com/blog/1920787网上搜罗半天,不知道什么原因,看了源码,好像他们说的controller是不受代理的,也对哈,不知道怎么办,于是在http://stackoverflow.com/questions/17834958/spring-ao
spring aop 如何切面到mvc 的controller--转载
原文:http://yjian84.iteye.com/blog/1920787网上搜罗半天,不知道什么原因,看了源码,好像他们说的controller是不受代理的,也对哈,不知道怎么办,于是在http://stackoverflow.com/questions/17834958/spring-ao
Spring 3 MVC: Themes In Spring-Tutorial With Examp
WelcometoPart6ofSpring3.0MVCSeries.InpreviousarticlewesawhowtoaddInternationalizationi18nandLocalizationL10nsupporttoSpring3.0basedwebapplication.Weus
easy ui example
http://www.jeasyui.com/tutorial/index.phphttp://www.w3cschool.cc/jeasyui/jqueryeasyui-tutorial.html
java.sql.SQLException: Invalid parameter object ty
java.sql.SQLException:Invalidparameterobjecttype.Expected'java.util.Map'butfound'java.lang.String'原文:http://hi.baidu.com/ideas/item/1e41172f70ac61876f
FastJson解析对象及对象数组--项目经验
第一次使用json,解析工具为FastJson,使用语言为java常见的json解析实例,以map为例:Map<String,String>map=newHashMap<String,String>();map.put("code","0");map.put("message
解读dbcp自动重连那些事---转载
http://agapple.iteye.com/blog/791943可以后另一篇做对比:http://agapple.iteye.com/blog/772507同样的内容,不同的描述方式,不一样的效果.Hiall:最近在做offerdetail优化时,替换了数据库驱动,从c3p00.9.1-&g
阿里巴巴消息系统架构与变迁--转载
原文:http://www.infoq.com/cn/news/2014/03/interview-alibaba-wangjingyu对于大型的互联网业务来说,消息系统是必不可少的基础服务。子柳在《淘宝技术这十年》中为大家展示了阿里消息系统架构的概貌,作为集团业务使用的核心基础服务,目前消息系统现
What is corresponding Cron expression to fire in e
原文地址:http://stackoverflow.com/questions/2996280/what-is-corresponding-cron-expression-to-fire-in-every-x-seconds-where-x-60Question:Iwantmyjobstoexecu
Spring Profiles example--转载
原文地址:http://www.mkyong.com/spring/spring-profiles-example/Spring@Profileallowdeveloperstoregisterbeansbycondition.Forexample,registerbeansbasedonwhato
Linux CentOS PhpMyAdmin安装--转载
原文地址:https://www.centos.bz/2011/04/linux-centos-phpmyadmin-install/安装好PHP,Apache和MySQL程序后,为了管理MySQL数据库,我们需要安装phpMyAdmin程序。下面是关于如何在centos安装phpMyAdmin程序
how to query for a list<String> in jdbctemplate?--
原文地址:http://stackoverflow.com/questions/13354158/how-to-query-for-a-liststring-in-jdbctemplateI'musingspringsjdbctemplateandrunningaquerylikebelow:SEL
spring与memcache的整合
1.pom.xml文件增加:<dependency><groupId>com.whalin</groupId><artifactId>Memcached-Java-Client</artifactId><version>3.0.
spring容器加载完毕做一件事情(利用ContextRefreshedEvent事件)
原文地址:http://zhaoshijie.iteye.com/blog/1974682应用场景:很多时候我们想要在某个类加载完毕时干某件事情,但是使用了spring管理对象,我们这个类引用了其他类(可能是更复杂的关联),所以当我们去使用这个类做事情时发现包空指针错误,这是因为我们这个类有可能已经
定时任务调度系统设计
目前定时任务调度系统quartz比较出名,quartz也有集群方案,但把所有任务集中一起就构成了分布式任务系统,耦合性比较高,而且比较重。我利用zookeeper的特性,设计了一个轻量级的定时任务调度系统。总体的架构:总体思路:1.前端admin负责任务的管理,包含添加任务,删除任务,修改任务到zo
Maven报错Missing artifact jdk.tools:jdk.tools:jar:1.
原文地址:http://blog.csdn.net/u013281331/article/details/40824707在Eclipse中检出Maven工程,一直报这个错:“Missingartifactjdk.tools:jdk.tools:jar:1.7”看整个pom.xml文件也不见其他异常
asynchronous-logging-with-log4j-2--转
原文地址:https://dzone.com/articles/asynchronous-logging-with-log4j-2Log4J2isaloggingframeworkdesignedtoaddresstheloggingrequirementsofenterpriseapplicati
Quartz Java resuming a job excecutes it many times
原文地址:http://stackoverflow.com/questions/1933676/quartz-java-resuming-a-job-excecutes-it-many-timesQuestion:Formyapplicationicreatejobsandschedulethemw
Spring AOP AspectJ Pointcut Expressions With Examp
原文地址:http://howtodoinjava.com/spring/spring-aop/writing-spring-aop-aspectj-pointcut-expressions-with-examples/1)MatchingMethodSignaturePatternsThemost
Quartz 在 Spring 中如何动态配置时间--转
原文地址:http://www.iteye.com/topic/399980在项目中有一个需求,需要灵活配置调度任务时间,并能自由启动或停止调度。有关调度的实现我就第一就想到了Quartz这个开源调度组件,因为很多项目使用过,Spring结合Quartz静态配置调度任务时间,非常easy。比如:每天