官方帮助手册:http://docs.spring.io/spring-ws/site/reference/html/tutorial.html 接着《SpringWS(一)-环境搭建》所搭建的服务,运行项目访问地址:http://localhost:8080/Spring-WS-Demo-0... Read More
posted @ 2014-04-19 23:04 lizebin0918 Views(921) Comments(0) Diggs(0) Edit
最近在用SpringWS,在学习的过程遇到不少问题,毕竟现在比较普遍的资料基本是SpringWS的官方文档和《Spring Web Services 2 Cookbook》,中文资料比较少,所以在此记录一下自己的学习笔记,如果有什么不对的地方,希望大家可以多多提点。 官方帮助手册:http://... Read More
posted @ 2014-04-15 21:44 lizebin0918 Views(3932) Comments(0) Diggs(0) Edit
一、在一个表执行了分别执行了两条语句: a.SELECT ID FROM MNG_ROLE ORDER BY ID; -- 耗时37秒 b.SELECT ID FROM MNG_ROLE ORDER BY ID, NAME; -- 耗时0.01秒 c.SELECT ID FROM MNG_ROLE;... Read More
posted @ 2015-10-17 00:30 lizebin0918 Views(4613) Comments(0) Diggs(0) Edit
1.之前看视频呢的时候,里面提到一道索引题目:假设某个表有一个联合索引(c1,c2,c3,c4)-只能使用该联合索引的c1,c2,c3部分 a.where c1=x and c2=x and c4>x and c3=x(c1,c2,c3,c4都用到了索引,c4是范围索引查找) b.where c1=... Read More
posted @ 2015-10-12 23:17 lizebin0918 Views(431) Comments(0) Diggs(0) Edit
最近在CentOS安装 Mariadb10.0.20,遇到一点小问题,所以把安装过程用博客记录: 1. 文件复制到/usr/lcoal目录下:$cpmariadb-10.0.20-linux-x86_64.tar.gz /usr/local 2.创建用户组及用户,以root操作: 2.... Read More
posted @ 2015-09-23 00:57 lizebin0918 Views(227) Comments(0) Diggs(0) Edit
之前在写shell脚本,有一个需求:获取当前目录下,带QRYTYP前缀,而且不以".tmp"结尾的文件名称。 1.首先是"QRYTYP*" 2.不以".tmp"结尾 3.要的是文件,而不是文件夹 首先自己思考了一下下,之后再从网上查找,得到下面的结果: ls -1 -F QRYTYP*... Read More
posted @ 2015-09-09 14:06 lizebin0918 Views(205) Comments(0) Diggs(0) Edit
之前在公司,在linux服务器上需要写一个shell脚本,功能如下:定时任务5秒钟执行一次,轮询当前机器(127.0.0.1)A目录,并把A目录下所有QRYTYP*开头的文件传输到另外一台机器(10.32.64.128)的B目录下,文件名也为QRYTYP*。 这样就要考虑几个问题:现在有一个文... Read More
posted @ 2015-08-30 17:11 lizebin0918 Views(860) Comments(0) Diggs(0) Edit
之前在做项目的时候,刚好用到Spring-Integration的TCP/IP组件,在定义ServerSocket的过程中,有一个参数backlog比较突出,通过网上的查阅,才知道这是原生Java中ServerSocket的参数。通过查API得知,ServerSocket的构造参数:public... Read More
posted @ 2015-07-16 18:44 lizebin0918 Views(857) Comments(0) Diggs(0) Edit
windows7(我安装的MariaDB路径为"D:/Program Files (x86)/MariaDB 10.0/"):1.running windows terminal2.输入:sc create "maria100" binpath= "\"D:/Program Files (x86)/... Read More
posted @ 2015-06-27 11:46 lizebin0918 Views(6266) Comments(0) Diggs(0) Edit
之前看到网上解决CDATA嵌套的问题,就是直接用"]]]]>"替换,但是如果是并列,或者是并列再嵌套。。。只是单纯的替换,解决不了项目的实际问题,写了这个工具方法,在解析之前把CDATA格式化了。 1 public class CDATAUtil { 2 3 private stat... Read More
posted @ 2013-10-25 11:28 lizebin0918 Views(3462) Comments(0) Diggs(0) Edit