云自无心水自闲

天平山上白云泉,云自无心水自闲。何必奔冲山下去,更添波浪向人间!
posts - 288, comments - 524, trackbacks - 0, articles - 6
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

心得体会

记述在平常生活工作中的点点滴滴

posted @ 2016-01-28 18:06 云自无心水自闲 阅读(473) | 评论 (0)  编辑 |

     摘要: 在我的上一篇文章中介绍了如何进行GPG加密解密。
加密解密的基本操作流程是,用户使用公钥对明文进行加密,解密方使用私钥对密文进行解密。

在实际应用中,除了加密保证文本内容不泄露外,同时还要考虑能够验证密文发送方的身份,比较普遍使用的方法就是签名。
本文主要对具体的方法进行介绍并附上源代码。  阅读全文

posted @ 2015-12-11 21:40 云自无心水自闲 阅读(1275) | 评论 (0)  编辑 |

posted @ 2015-06-16 21:27 云自无心水自闲 阅读(18469) | 评论 (0)  编辑 |

posted @ 2015-06-11 21:59 云自无心水自闲 阅读(7719) | 评论 (0)  编辑 |

posted @ 2015-06-11 14:09 云自无心水自闲 阅读(4826) | 评论 (0)  编辑 |

posted @ 2015-04-27 15:31 云自无心水自闲 阅读(1556) | 评论 (0)  编辑 |

posted @ 2015-02-09 19:28 云自无心水自闲 阅读(7286) | 评论 (0)  编辑 |

posted @ 2015-02-03 19:36 云自无心水自闲 阅读(2641) | 评论 (1)  编辑 |

posted @ 2015-02-01 19:19 云自无心水自闲 阅读(5032) | 评论 (1)  编辑 |

posted @ 2014-12-10 06:50 云自无心水自闲 阅读(11814) | 评论 (5)  编辑 |

     摘要: 在Netty中处理耗费时间的任务而不阻塞I/O
  阅读全文

posted @ 2014-11-27 07:36 云自无心水自闲 阅读(9867) | 评论 (0)  编辑 |

posted @ 2011-08-26 08:57 云自无心水自闲 阅读(3852) | 评论 (0)  编辑 |

posted @ 2011-08-08 10:36 云自无心水自闲 阅读(4218) | 评论 (4)  编辑 |

posted @ 2011-05-30 10:42 云自无心水自闲 阅读(852) | 评论 (0)  编辑 |

posted @ 2011-02-07 13:22 云自无心水自闲 阅读(1626) | 评论 (0)  编辑 |

posted @ 2010-11-24 06:08 云自无心水自闲 阅读(2081) | 评论 (3)  编辑 |

posted @ 2010-11-02 08:10 云自无心水自闲 阅读(2638) | 评论 (1)  编辑 |

posted @ 2010-11-02 07:58 云自无心水自闲 阅读(640) | 评论 (0)  编辑 |

posted @ 2010-10-20 07:38 云自无心水自闲 阅读(1701) | 评论 (0)  编辑 |

posted @ 2010-09-13 12:42 云自无心水自闲 阅读(2403) | 评论 (1)  编辑 |

posted @ 2010-08-20 08:51 云自无心水自闲 阅读(793) | 评论 (0)  编辑 |

posted @ 2010-08-18 07:13 云自无心水自闲 阅读(1076) | 评论 (0)  编辑 |

posted @ 2010-07-28 11:02 云自无心水自闲 阅读(1978) | 评论 (1)  编辑 |

posted @ 2010-07-14 09:33 云自无心水自闲 阅读(3690) | 评论 (0)  编辑 |

posted @ 2010-07-05 09:38 云自无心水自闲 阅读(4124) | 评论 (2)  编辑 |

posted @ 2010-06-23 07:16 云自无心水自闲 阅读(2531) | 评论 (0)  编辑 |

posted @ 2010-06-18 17:06 云自无心水自闲 阅读(2381) | 评论 (0)  编辑 |

posted @ 2010-06-17 06:18 云自无心水自闲 阅读(3694) | 评论 (0)  编辑 |

posted @ 2010-06-16 20:08 云自无心水自闲 阅读(441) | 评论 (0)  编辑 |

posted @ 2010-06-11 08:12 云自无心水自闲 阅读(1505) | 评论 (0)  编辑 |

posted @ 2010-06-03 10:31 云自无心水自闲 阅读(1945) | 评论 (1)  编辑 |

posted @ 2010-05-24 19:58 云自无心水自闲 阅读(3127) | 评论 (2)  编辑 |

posted @ 2010-04-20 11:21 云自无心水自闲 阅读(1846) | 评论 (2)  编辑 |

posted @ 2010-03-25 10:44 云自无心水自闲 阅读(2146) | 评论 (0)  编辑 |

posted @ 2010-03-19 07:40 云自无心水自闲 阅读(3030) | 评论 (0)  编辑 |

posted @ 2010-03-06 15:54 云自无心水自闲 阅读(2254) | 评论 (0)  编辑 |

posted @ 2010-02-12 07:26 云自无心水自闲 阅读(3310) | 评论 (3)  编辑 |

posted @ 2010-02-06 12:36 云自无心水自闲 阅读(3585) | 评论 (4)  编辑 |

posted @ 2010-02-04 19:17 云自无心水自闲 阅读(3229) | 评论 (1)  编辑 |

posted @ 2010-02-01 12:57 云自无心水自闲 阅读(3920) | 评论 (2)  编辑 |

posted @ 2010-01-21 07:28 云自无心水自闲 阅读(3683) | 评论 (0)  编辑 |

posted @ 2010-01-15 20:49 云自无心水自闲 阅读(2371) | 评论 (4)  编辑 |

posted @ 2010-01-12 20:17 云自无心水自闲 阅读(2861) | 评论 (0)  编辑 |

posted @ 2010-01-06 12:20 云自无心水自闲 阅读(3100) | 评论 (2)  编辑 |

posted @ 2009-11-19 13:44 云自无心水自闲 阅读(5522) | 评论 (2)  编辑 |

posted @ 2009-10-15 20:09 云自无心水自闲 阅读(11326) | 评论 (16)  编辑 |

posted @ 2009-10-07 20:18 云自无心水自闲 阅读(3935) | 评论 (6)  编辑 |

     摘要: Tapestry IoC容器从历史上来说,是从从HiveMind继承发展而来,但是HiveMind和目前大红大紫的Spring都不能满足Tapestry的一些特定的需求,所以全新开发了一套IoC的容器。
其核心思想就是使用Java代码自身来解决依赖注入而不是由Xml之类的配置文件来完成,这和Guice的思想是非常相似的,Lewis也承认从Guice那里借鉴了不少。
另外需要说明一下的是,Tapesty还从中国的一个非常古老但又充满哲理的游戏--围棋中借鉴了一些术语和思想。大意是围棋中经常要把棋子走的轻盈(Lightness),让每个棋子都能尽量地高效。编程也一样要轻量(Lightness)。  阅读全文

posted @ 2009-09-12 22:07 云自无心水自闲 阅读(2446) | 评论 (1)  编辑 |

posted @ 2009-09-04 14:19 云自无心水自闲 阅读(6562) | 评论 (2)  编辑 |

     摘要: 在我的随笔Extjs Tree + JSON + Struts2中我介绍了如何异步加载一个Extjs的树,但是很多网友留言说不能成功操作。现在我自己做了一个所有源代码的包,供大家下载。  阅读全文

posted @ 2009-09-01 11:07 云自无心水自闲 阅读(7468) | 评论 (14)  编辑 |

posted @ 2009-08-24 14:25 云自无心水自闲 阅读(577) | 评论 (0)  编辑 |

posted @ 2009-08-21 10:20 云自无心水自闲 阅读(8905) | 评论 (1)  编辑 |

posted @ 2009-08-10 13:24 云自无心水自闲 阅读(4031) | 评论 (0)  编辑 |

posted @ 2009-08-08 08:53 云自无心水自闲 阅读(630) | 评论 (0)  编辑 |

posted @ 2009-07-10 20:15 云自无心水自闲 阅读(4368) | 评论 (5)  编辑 |

posted @ 2009-07-09 12:56 云自无心水自闲 阅读(1728) | 评论 (3)  编辑 |

posted @ 2009-06-26 20:56 云自无心水自闲 阅读(2054) | 评论 (9)  编辑 |

     摘要: Tapestry最基本的组成部分:页面组件  阅读全文

posted @ 2009-06-20 19:57 云自无心水自闲 阅读(2533) | 评论 (3)  编辑 |

     摘要: Tapestry重要特性之一:页面的缓存以及页面间值的传递  阅读全文

posted @ 2009-06-05 14:24 云自无心水自闲 阅读(2730) | 评论 (0)  编辑 |

     摘要: Tapestry的页面模板语言  阅读全文

posted @ 2009-06-03 17:17 云自无心水自闲 阅读(2244) | 评论 (2)  编辑 |

     摘要: Tapestry的页面  阅读全文

posted @ 2009-05-31 20:31 云自无心水自闲 阅读(3007) | 评论 (0)  编辑 |

     摘要: Tapestry的基本配置和目录结构  阅读全文

posted @ 2009-05-30 13:55 云自无心水自闲 阅读(3104) | 评论 (0)  编辑 |

posted @ 2009-05-07 21:08 云自无心水自闲 阅读(1722) | 评论 (0)  编辑 |

posted @ 2009-05-02 22:06 云自无心水自闲 阅读(1528) | 评论 (0)  编辑 |

posted @ 2009-05-01 12:43 云自无心水自闲 阅读(327) | 评论 (0)  编辑 |

     摘要: 最近在使用FreeMarker中,总结的一些小技巧和方法  阅读全文

posted @ 2009-04-28 12:19 云自无心水自闲 阅读(3420) | 评论 (1)  编辑 |

posted @ 2009-04-21 23:09 云自无心水自闲 阅读(2385) | 评论 (3)  编辑 |

posted @ 2009-04-17 10:57 云自无心水自闲 阅读(451) | 评论 (0)  编辑 |

posted @ 2009-01-06 17:30 云自无心水自闲 阅读(2157) | 评论 (0)  编辑 |

     摘要: 发现了struts2在线文档中的一个小错误,希望大家在使用的时候注意  阅读全文

posted @ 2008-12-30 13:17 云自无心水自闲 阅读(1499) | 评论 (3)  编辑 |

posted @ 2008-12-30 13:03 云自无心水自闲 阅读(2701) | 评论 (2)  编辑 |

posted @ 2008-12-18 08:10 云自无心水自闲 阅读(2384) | 评论 (11)  编辑 |

posted @ 2008-12-12 17:49 云自无心水自闲 阅读(1436) | 评论 (3)  编辑 |

posted @ 2008-12-11 19:29 云自无心水自闲 阅读(481) | 评论 (0)  编辑 |

posted @ 2008-12-11 09:09 云自无心水自闲 阅读(500) | 评论 (0)  编辑 |

posted @ 2008-12-07 17:07 云自无心水自闲 阅读(2821) | 评论 (1)  编辑 |

posted @ 2008-12-06 20:37 云自无心水自闲 阅读(526) | 评论 (0)  编辑 |

posted @ 2008-12-01 20:13 云自无心水自闲 阅读(1015) | 评论 (0)  编辑 |

posted @ 2008-11-21 07:59 云自无心水自闲 阅读(2571) | 评论 (2)  编辑 |

posted @ 2008-11-12 09:19 云自无心水自闲 阅读(1353) | 评论 (0)  编辑 |

posted @ 2008-09-02 21:02 云自无心水自闲 阅读(5452) | 评论 (5)  编辑 |

posted @ 2008-08-07 20:16 云自无心水自闲 阅读(5627) | 评论 (6)  编辑 |

posted @ 2008-07-12 18:57 云自无心水自闲 阅读(3644) | 评论 (3)  编辑 |

posted @ 2008-07-01 13:33 云自无心水自闲 阅读(6678) | 评论 (7)  编辑 |

posted @ 2008-06-23 20:14 云自无心水自闲 阅读(10779) | 评论 (15)  编辑 |

posted @ 2008-05-13 11:08 云自无心水自闲 阅读(7499) | 评论 (1)  编辑 |

posted @ 2008-04-14 08:03 云自无心水自闲 阅读(544) | 评论 (0)  编辑 |

posted @ 2008-04-11 16:09 云自无心水自闲 阅读(7556) | 评论 (4)  编辑 |

posted @ 2008-03-27 22:08 云自无心水自闲 阅读(12155) | 评论 (16)  编辑 |

posted @ 2008-02-21 12:03 云自无心水自闲 阅读(1959) | 评论 (2)  编辑 |

posted @ 2008-02-19 09:27 云自无心水自闲 阅读(43654) | 评论 (49)  编辑 |

posted @ 2008-02-12 21:06 云自无心水自闲 阅读(3275) | 评论 (2)  编辑 |

posted @ 2008-02-10 20:56 云自无心水自闲 阅读(12247) | 评论 (8)  编辑 |

posted @ 2008-02-07 07:04 云自无心水自闲 阅读(1569) | 评论 (0)  编辑 |

posted @ 2008-01-25 13:16 云自无心水自闲 阅读(15308) | 评论 (10)  编辑 |

posted @ 2008-01-24 22:06 云自无心水自闲 阅读(7064) | 评论 (7)  编辑 |

posted @ 2008-01-02 20:48 云自无心水自闲 阅读(8585) | 评论 (3)  编辑 |

posted @ 2007-12-14 21:14 云自无心水自闲 阅读(5438) | 评论 (6)  编辑 |

posted @ 2007-08-24 20:26 云自无心水自闲 阅读(1674) | 评论 (0)  编辑 |

posted @ 2007-08-23 00:12 云自无心水自闲 阅读(627) | 评论 (1)  编辑 |

posted @ 2007-08-08 22:37 云自无心水自闲 阅读(6157) | 评论 (6)  编辑 |

posted @ 2007-07-27 20:16 云自无心水自闲 阅读(21818) | 评论 (4)  编辑 |

posted @ 2007-07-27 19:50 云自无心水自闲 阅读(1583) | 评论 (0)  编辑 |

posted @ 2007-07-14 19:21 云自无心水自闲 阅读(2708) | 评论 (0)  编辑 |

posted @ 2007-04-28 12:38 云自无心水自闲 阅读(6344) | 评论 (6)  编辑 |

posted @ 2007-04-26 18:01 云自无心水自闲 阅读(5440) | 评论 (14)  编辑 |

posted @ 2007-04-24 20:19 云自无心水自闲 阅读(394) | 评论 (0)  编辑 |

posted @ 2007-04-21 16:06 云自无心水自闲 阅读(879) | 评论 (0)  编辑 |

posted @ 2007-04-20 17:35 云自无心水自闲 阅读(536) | 评论 (0)  编辑 |

posted @ 2007-04-17 17:47 云自无心水自闲 阅读(2790) | 评论 (3)  编辑 |

posted @ 2007-04-15 20:50 云自无心水自闲 阅读(6105) | 评论 (0)  编辑 |

posted @ 2007-04-13 13:02 云自无心水自闲 阅读(2209) | 评论 (3)  编辑 |

posted @ 2007-03-29 15:42 云自无心水自闲 阅读(451) | 评论 (0)  编辑 |

posted @ 2007-03-08 09:51 云自无心水自闲 阅读(1624) | 评论 (0)  编辑 |

posted @ 2007-03-07 23:46 云自无心水自闲 阅读(1334) | 评论 (2)  编辑 |

posted @ 2007-03-07 13:00 云自无心水自闲 阅读(1643) | 评论 (0)  编辑 |

posted @ 2007-03-04 23:08 云自无心水自闲 阅读(1590) | 评论 (0)  编辑 |

posted @ 2007-03-01 00:49 云自无心水自闲 阅读(884) | 评论 (0)  编辑 |

posted @ 2007-02-28 00:52 云自无心水自闲 阅读(2965) | 评论 (2)  编辑 |

posted @ 2007-02-12 23:45 云自无心水自闲 阅读(273853) | 评论 (50)  编辑 |

posted @ 2006-10-20 15:02 云自无心水自闲 阅读(216) | 评论 (0)  编辑 |

posted @ 2006-10-10 17:28 云自无心水自闲 阅读(4386) | 评论 (3)  编辑 |

posted @ 2006-05-10 15:51 云自无心水自闲 阅读(887) | 评论 (0)  编辑 |

posted @ 2006-04-26 09:42 云自无心水自闲 阅读(761) | 评论 (0)  编辑 |

posted @ 2006-03-16 16:37 云自无心水自闲 阅读(330) | 评论 (0)  编辑 |