Loading

摘要: 大家都知道 dubbo 是一个优秀 rpc 框架,它一般(dubbox 除外)通过对外提供 tcp协议的接口进行外部调用。而我们日常使用的测试工具 jmeter 并不支持 dubbo 协议的请求。所以本文到此结束,谢谢观看,再见。 当然 jmeter 本身的确是不支持 dubbo 的请求,但是呢,有 阅读全文
posted @ 2019-09-05 11:23 KIWI的碎碎念 阅读(5763) 评论(0) 推荐(0) 编辑
摘要: [TOC] 认证流程 环境 目录 包依赖 代码 总结 1.刚开始运行老是报日志的问题 解决:引入slf4j log4j12的jar包,具体参考 "关于SLF4J: Failed to load class的问题及解决" 2.为什么要用ini文件而不用properties 因为ini文件可以分片,比如 阅读全文
posted @ 2016-02-12 19:04 KIWI的碎碎念 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 标题 用1~6个 标题1 标题2 标题3 标题4 标题5 标题6 源码: 标题1 标题2 标题3 标题4 标题5 标题6 引用 引用使用 引用使用用 列表 无序列表 可以用 + 有序列表 用数字加英文点 eg. 1. 2. 3. 转义 eg 1985. 123 1985\. 123 分隔线 源码: 阅读全文
posted @ 2016-02-07 14:34 KIWI的碎碎念 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 如果涉及到统计的话,可能会经常用到。很简单的基础知识。 1、getTimestampByOffsetDay public static long getTimestampByOffsetDay(int day){ Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.DAY_OF_MONTH, ... 阅读全文
posted @ 2015-09-26 13:41 KIWI的碎碎念 阅读(1457) 评论(0) 推荐(0) 编辑
摘要: #1、基本环境 环境 版本 jdk 1.7.0_10 ide eclipse-jee-luna-SR2-win32-x86_64 maven 3.3.3 mybatis 3.2.7 mysql 5.1.55 #2、所需jar包 maven的pom.xml 隐藏行号 复制代码 ? pom.xml 4.0.0 cn.kiwifly.mybatis ... 阅读全文
posted @ 2015-08-27 14:02 KIWI的碎碎念 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 所需工具与前文一致! 第一部分内容:基本类型的一对多(one to many) 以部门表与员工表为例: 目录结构: hibernate.cfg.xml内容 1 2 5 6 7 8 9 com.mysql.jdbc... 阅读全文
posted @ 2015-04-17 22:00 KIWI的碎碎念 阅读(186) 评论(0) 推荐(0) 编辑
摘要: Hibernate映射类型Java类型标准SQL类型integerjava.lang.Integerintegerlongjava.lang.Longbigintshortjava.lang.Shortsmallintfloatjava.lang.Floatfloatdoublejava.lang.... 阅读全文
posted @ 2015-04-14 07:42 KIWI的碎碎念 阅读(1068) 评论(0) 推荐(0) 编辑
摘要: 所需工具:ide:eclipse or myeclipsejdk:1.7jar包:hibernate-distribution-3.6.0.Final 和对应mysql的驱动类(对应jar包如图)数据库:mysql 要支持事务的版本,命令行下或用navicat生成如图所示表项目目录结构如下:其中cn... 阅读全文
posted @ 2015-04-13 23:48 KIWI的碎碎念 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 刚学WebService就遇到一个问题,按视屏敲的代码,它生成的wsdl页面与自己的不一样,我的没有types,结构完全不同了This XML file does not appear to have any style information associated with it. The doc... 阅读全文
posted @ 2015-01-31 19:40 KIWI的碎碎念 阅读(963) 评论(0) 推荐(0) 编辑
摘要: 异常信息:08:02:56,329 WARN SessionFactoryObjectFactory:123 - Could not unbind factory from JNDIjavax.naming.NoInitialContextException: Need to specify cl... 阅读全文
posted @ 2014-12-14 09:23 KIWI的碎碎念 阅读(857) 评论(0) 推荐(0) 编辑