Spring
iteye_15147
这个作者很懒,什么都没留下…
展开
-
Spring事务(Trasanction)
Spring的事务 之 9.1 数据库事务概述 ——跟我学spring3 [url]http://jinnianshilongnian.iteye.com/blog/1439796[/url]【第九章】 Spring的事务 之 9.3 编程式事务 ——跟我学spring3 详细介绍了事务的传播行为 [url]http://jinnianshilongnian.iteye.com/blog/1...原创 2015-07-09 18:30:26 · 617 阅读 · 0 评论 -
本地事务和全局事务Local Transaction and Global Transaction(JTA)
Configuring Spring and JTA without full Java EE[url]http://spring.io/blog/2011/08/15/configuring-spring-and-jta-without-full-java-ee/[/url]Spring doc -Transaction Management[url]http://docs.sp...原创 2015-07-10 15:00:15 · 938 阅读 · 0 评论 -
annotation-config vs(对比) component-scan
[size=small] 可以处理@Autowired,但是不能处理@Component, @Service, @Repository 所以如果你使用了@Component, @Service, @Repository就必须添加.包含了的功能,并且还可以处理@Component, @Service, @Repository, 所以你只要使用了,就不需要添加[url]http:/...原创 2015-08-26 10:51:52 · 73 阅读 · 0 评论 -
Spring中XML配置注入枚举类型值
[url]http://stackoverflow.com/questions/14072314/inject-the-value-of-an-enum-into-a-property-using-spring[/url][code="java"] [/code]即使用方式即可原创 2015-10-21 10:56:46 · 2608 阅读 · 0 评论 -
分布式事务XA,JTA,两阶段提交,BASE
[size=small]关于分布式事务、两阶段提交、一阶段提交、Best Efforts 1PC模式和事务补偿机制的研究[url]http://blog.csdn.net/bluishglc/article/details/7612811[/url]作者:谢照东链接:[url]http://www.zhihu.com/question/29483490/answer/1071425...原创 2016-06-27 21:45:39 · 435 阅读 · 0 评论 -
spring下应用@Resource, @Autowired 和 @Inject注解进行依赖注入的差异
[size=small]参考链接Spring 注解 javax.annotation.Resource和@Autowired共同点:两者都可以写在字段和setter方法上。两者如果都写在字段上,就不需要写写setter方法。[url]http://blog.csdn.net/xiaoyiyz/article/details/51201937[/url][url]http:/...原创 2014-06-30 11:48:23 · 80 阅读 · 0 评论 -
Spring MVC静态资源处理
[size=medium]原文链接:[url]http://lzy83925.iteye.com/blog/1186609[/url]其它参考链接:[url]http://www.cnblogs.com/fangqi/archive/2012/10/28/2743108.html[/url]如何你的DispatcherServlet拦截 *.do这样的URL,就不存在访问不到静态资...原创 2014-07-01 19:28:14 · 53 阅读 · 0 评论 -
使用Java注解进行Spring bean管理
原文链接:http://www.ibm.com/developerworks/cn/webservices/ws-springjava/使用 Java 配置进行 Spring bean 管理学习使用 Java 配置管理 Spring beanSpring bean 是使用传统的 XML 方法配置的。在这篇文章中,您将学习使用基于纯 Java 的配置而非 XML 来编...原创 2014-11-02 19:34:56 · 90 阅读 · 0 评论