云自无心水自闲

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

Java

Sun Java

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

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

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

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

posted @ 2015-10-08 08:45 云自无心水自闲 阅读(3277) | 评论 (0)  编辑 |

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

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

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

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

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

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

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

posted @ 2013-10-14 20:35 云自无心水自闲 阅读(497) | 评论 (0)  编辑 |

posted @ 2011-08-31 07:25 云自无心水自闲 阅读(3198) | 评论 (0)  编辑 |

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

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

posted @ 2011-03-29 05:53 云自无心水自闲 阅读(2183) | 评论 (0)  编辑 |

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

posted @ 2010-12-15 07:51 云自无心水自闲 阅读(3115) | 评论 (0)  编辑 |

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

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

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

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

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

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

posted @ 2010-07-15 08:20 云自无心水自闲 阅读(1543) | 评论 (2)  编辑 |

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

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

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

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

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

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

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

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

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

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

posted @ 2010-03-08 19:50 云自无心水自闲 阅读(1753) | 评论 (1)  编辑 |

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

posted @ 2010-03-01 12:21 云自无心水自闲 阅读(384) | 评论 (0)  编辑 |

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

     摘要: Tapestry的页面  阅读全文

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

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

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

posted @ 2009-05-16 19:38 云自无心水自闲 阅读(2199) | 评论 (1)  编辑 |

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

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

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

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

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

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

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

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

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

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

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

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

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

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

posted @ 2008-08-20 19:47 云自无心水自闲 阅读(456) | 评论 (0)  编辑 |

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

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

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

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

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

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

posted @ 2008-03-18 14:06 云自无心水自闲 阅读(4297) | 评论 (2)  编辑 |

posted @ 2008-03-17 12:09 云自无心水自闲 阅读(5784) | 评论 (8)  编辑 |

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

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

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

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

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

posted @ 2008-02-06 09:43 云自无心水自闲 阅读(442) | 评论 (0)  编辑 |

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

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

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

posted @ 2007-12-11 19:38 云自无心水自闲 阅读(2684) | 评论 (4)  编辑 |

posted @ 2007-09-22 21:28 云自无心水自闲 阅读(1746) | 评论 (4)  编辑 |

posted @ 2007-09-17 12:42 云自无心水自闲 阅读(555) | 评论 (0)  编辑 |

posted @ 2007-09-10 14:15 云自无心水自闲 阅读(1014) | 评论 (0)  编辑 |

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

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

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

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

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

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

posted @ 2007-06-23 09:11 云自无心水自闲 阅读(800) | 评论 (0)  编辑 |

posted @ 2007-05-18 20:39 云自无心水自闲 阅读(7808) | 评论 (14)  编辑 |

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

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

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

posted @ 2007-03-19 12:10 云自无心水自闲 阅读(1470) | 评论 (0)  编辑 |

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

posted @ 2007-03-14 15:09 云自无心水自闲 阅读(770) | 评论 (0)  编辑 |

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

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

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

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

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

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

posted @ 2007-01-17 01:50 云自无心水自闲 阅读(365) | 评论 (1)  编辑 |

posted @ 2006-12-13 14:04 云自无心水自闲 阅读(948) | 评论 (0)  编辑 |

posted @ 2006-12-12 00:30 云自无心水自闲 阅读(691) | 评论 (0)  编辑 |

posted @ 2006-11-10 09:54 云自无心水自闲 阅读(255) | 评论 (0)  编辑 |

posted @ 2006-10-23 16:24 云自无心水自闲 阅读(813) | 评论 (0)  编辑 |

posted @ 2006-10-20 13:13 云自无心水自闲 阅读(2531) | 评论 (2)  编辑 |

posted @ 2006-03-03 13:34 云自无心水自闲 阅读(878) | 评论 (0)  编辑 |

posted @ 2006-03-01 00:58 云自无心水自闲 阅读(3561) | 评论 (0)  编辑 |

posted @ 2006-02-25 22:14 云自无心水自闲 阅读(323) | 评论 (0)  编辑 |

posted @ 2006-02-17 00:08 云自无心水自闲 阅读(444) | 评论 (0)  编辑 |

posted @ 2006-02-16 16:19 云自无心水自闲 阅读(2692) | 评论 (0)  编辑 |

posted @ 2006-02-16 10:30 云自无心水自闲 阅读(1655) | 评论 (0)  编辑 |

posted @ 2006-02-15 22:51 云自无心水自闲 阅读(280) | 评论 (0)  编辑 |