
Spring Framework
文章平均质量分 92
dingxy
保持微笑,保持平和的心,
做好计划,身体力行,不空想,
想好就做,不犹豫,
凡事都有得失,平淡对待
尽量关心朋友和亲人,不疏远,不孤立
过好每个周末
计划每年的假期和旅游计划
展开
-
SPring Itegration--JDBC endpoint 简单实现实例
1. config.xml -----database configuration2.JdbcMessageHandler.java ----data process3.TestMain.java ----main 1. config.xml -----database configuration xmlns:xsi="http://www.w3原创 2011-11-02 15:04:43 · 1557 阅读 · 0 评论 -
JdbcTemplate总结
[java] view plaincopy1.您可以使用JdbcTemplate的execute()方法執行SQL DDL语句,例如: jdbcTemplate.execute("CREATE TABLE USER (user_id integer, name varchar(100))"); 使用JdbcTemplate进行查询时,可以使用queryForXXX()等转载 2013-01-29 11:32:40 · 827 阅读 · 0 评论 -
Application context 和Resource 路径[转]
From http://www.cnblogs.com/secret1998/archive/2010/05/24/1742531.htmlApplication context 和Resource 路径[转]构造application contextapplication context构造器通常使用字符串或字符串数组作为资源(比如组成context定义 的XML文件)的定位转载 2012-12-22 18:43:22 · 848 阅读 · 0 评论 -
Spring 2.5 注释驱动的 IoC 功能(总结)
reference: http://www.ibm.com/developerworks/cn/java/j-lo-spring25-ioc/http://leiwuluan.iteye.com/blog/607373http://www.chinasb.org/archives/2011/06/2443.shtml@Autowired 与@Resource原创 2012-05-31 10:24:39 · 644 阅读 · 0 评论 -
CXF& Spring Exceptions
1. javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156) at $Proxy34.executeService(Unknown Source原创 2012-06-27 17:40:30 · 933 阅读 · 0 评论 -
Spring Asyn 使用
Reference : http://www.jarorwar.com/511.XML config<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.spr原创 2012-06-12 17:40:22 · 2191 阅读 · 0 评论 -
Spring JDBC Template
1.Test class :package com.bcsis.g3.test;import java.sql.Connection;import java.sql.PreparedStatement;import java.sql.SQLException;import java.sql.Statement;import javax.sql.DataSource;原创 2012-03-28 15:45:25 · 13153 阅读 · 2 评论 -
spring配置dbcp连接池
from http://blog.youkuaiyun.com/zliangh/article/details/6162146一、配置db.properties属性文件#database connection configconnection.username=saconnection.password=saconnection.url=jdbc:sqlserver://192转载 2012-03-08 14:00:12 · 1004 阅读 · 0 评论 -
spring的DriverManagerDataSource与apache的BasicDataSource(转)
from http://blog.youkuaiyun.com/chenyongsuda/article/details/5391963情况是这样的。。。 2008-3-18 1:08:26 org.apache.tomcat.util.threads.ThreadPool logFull 严重: All threads (150) are currently busy, waitin转载 2012-03-08 13:58:51 · 794 阅读 · 0 评论 -
学习经典:Spring JDBC Framework(转)
http://blog.youkuaiyun.com/chenyongsuda/article/details/5392454这里记录我对Spring JDBC框架的学习。由于Spring JDBC和我之前做的工作有很多共同之处,学习经典Framework的设计,取长补短,为我所用。 在这里,先佩服一下Rod JohnSon,他对数据库,JDBC的理解非常深。看Spring转载 2012-03-08 13:57:16 · 641 阅读 · 0 评论 -
Spring IOC
from http://easy115.com/2012/01/05/spring%E7%94%A8%E6%B3%95%E5%B0%8F%E7%BB%93-ioc%E7%9A%84%E6%A6%82%E5%BF%B5.html一、IOC的概念IOC是控制反转的意思,实际作用是由容器创建对象并维护对象与对象之间的关系,而不是程序代码Java程序代码只需要跟容器“要”某个类的对象就行了转载 2012-02-28 16:49:53 · 467 阅读 · 0 评论 -
Spring &Mybatis 实践
Reference :http://www.javabeat.net/articles/52-spring-ibatis-integration-1.htmlhttp://www.mybatis.org/generator/running/runningWithJava.htmlhttp://www.linuxso.com/architecture/13674.html原创 2012-02-23 14:49:24 · 2419 阅读 · 0 评论 -
IOC(依赖注入)具体实现
From http://easy115.com/2012/01/05/spring%E7%94%A8%E6%B3%95%E5%B0%8F%E7%BB%93-ioc%E4%BB%A5%E6%9D%A5%E6%B3%A8%E5%85%A5%E5%85%B7%E4%BD%93%E6%97%B6%E9%97%B4.html大致分为3种注入方式:1.构造器注入要求:(1)bean必须提供转载 2012-02-28 09:25:25 · 671 阅读 · 0 评论 -
Java.lang.VerifyError: Expecting a stackmap frame at branch target
Pre-requisites:1) JDK 1.72) TC server :Tomcat version 7.0.23.A.RELEASEError encountered when restart service as below :INFO | jvm 1 | 2013/03/22 15:28:37 | 15:28:37,388 [pool-3-thread-原创 2013-03-22 17:32:29 · 11419 阅读 · 0 评论