云自无心水自闲

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

Java

Sun Java

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

     摘要: Tapestry的页面  阅读全文

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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