Spring
文章平均质量分 69
Level_Meng
学而不思则罔
展开
-
SSH框架中使用log4j的方便之处
本文转自:http://www.cnblogs.com/rushoooooo/archive/2011/08/29/2157361.htmlSSH框架中使用log4j的方便之处1. 动态的改变记录级别和策略,即修改log4j.properties,不需要重启Web应用,这需要在web.xml中设置一下。2. 把log文件定在 /WEB-INF/logs/ 而不需要写绝对路径。3转载 2014-03-03 17:25:47 · 689 阅读 · 0 评论 -
Spring jdbcTemplate 应用
Examples of JdbcTemplate class usageThis section provides some examples of JdbcTemplate class usage. These examples are not an exhaustive list of all of the functionality exposed by the Jd原创 2014-07-29 11:37:15 · 1489 阅读 · 0 评论 -
Spring 零碎整理 以后自己用的到
明确注册一个BeanFactoryPostProcessor使用BeanFactory实现时,您必须编写代码如下:原创 2014-07-29 08:09:10 · 1096 阅读 · 0 评论 -
Spring 数据库连接整理
1、数据库连接jdbc.properties配置详解jdbc.url=jdbc:hsqldb:hsql://localhost/xdbjdbc.username=sajdbc.password=jdbc.原创 2014-07-26 22:16:35 · 708 阅读 · 0 评论 -
依赖注入的详细配置
Dependencies and configuration in detail原创 2014-07-26 16:33:57 · 916 阅读 · 0 评论 -
Spring事务的传播行为和隔离级别
转载自:http://blog.chinaunix.net/u1/55983/showart_2091761.html7个传播行为,4个隔离级别, Spring事务的传播行为和隔离级别[transaction behaviorand isolated level]2007-08-01 16:33事务的传播行为和隔离级别[transaction behavior and isol转载 2014-02-23 18:24:39 · 743 阅读 · 0 评论 -
Spring 入门总结
下面的例子显示了基于xml的配置元数据的基本结构:原创 2014-07-26 16:34:27 · 558 阅读 · 0 评论 -
Spring 依赖注入 (Dependencies)
一个典型的企业应用程序不包含一个对象(或bean在Spring的说法)。即使是最简单的应用程序有几个对象,共同努力,目前终端用户眼中一个连贯的应用程序。这在下一节解释了如何从定义的bean定义独立,完全实现应用程序对象协作来实现一个目标。原创 2014-07-26 16:35:33 · 2002 阅读 · 0 评论 -
shiro SpringMvc Hibernate 入门
先来Web.xml<!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file ~ distributed with this work for additional informati原创 2014-07-18 14:16:10 · 1111 阅读 · 0 评论 -
net.sf.ehcache.CacheException:error setting options
将hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider换成hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider原创 2014-03-06 13:26:41 · 6482 阅读 · 0 评论 -
Spring 事务配置管理
Spring 事物配置详解 事物配置:原创 2014-07-29 11:16:52 · 1325 阅读 · 0 评论