转载自http://blog.csdn.net/stonecao/article/details/6417364在android中提供了一种异步回调机制Handler,使用它,我们可以在完成一个很长时间的任务后做出相应的通知 handler基本使用: 在主线程中,使用handler很简单,new一个...
分类:
移动开发 时间:
2014-09-23 12:13:04
阅读次数:
344
参考资料
http://faye.jcoglan.com/
Faye is a publish-subscribe messaging system based on the Bayeux protocol/CometD. It provides message servers for Node.js and Ruby, and clients for use on...
分类:
Web程序 时间:
2014-09-23 12:12:24
阅读次数:
192
callback is nothing but passing the function pointer to the code from where you want your handler/ callback to be invoked.check here
分类:
其他好文 时间:
2014-09-23 09:53:04
阅读次数:
313
参考资料:Clustering by Passing Messages Between Data Points,Brendan J. Frey* and Delbert Dueck
分类:
其他好文 时间:
2014-09-23 01:38:33
阅读次数:
207
跨文档消息传送1.想从其他窗口接收到消息必须对窗口对象的message事件进行监听 window.addEventListener("message",function(){},false);使用window对象的otherwindow.postMessage(message,targetOrigi...
分类:
其他好文 时间:
2014-09-23 01:30:13
阅读次数:
340
Most of the communications between components that you have seen so far are synchronous: one class calls another, a managed bean invokes an EJB, which calls an entity, and so on.? ? ?Message...
分类:
其他好文 时间:
2014-09-22 17:36:33
阅读次数:
216
MD5加密算法简单示例
现在网络上一般的网站,只要功能稍微完善一点的,都需要用户进行注册,提供诸如用户名、用户密码、电子邮件、甚至是电话号码、详细住址等个人隐私信息,然后才可以
享受网站提供的一些特殊的信息或者服务。为了增加安全性,有必要对数据库中的隐私数据进行加密。
MD5算法,即“Message-Digest Algorithm 5(信息-摘要算法)”...
分类:
其他好文 时间:
2014-09-22 16:28:42
阅读次数:
184
问题: Shareoint 2010 列表工作流启动时,显示“处理表单时出现严重错误”。Error Message-1:Object doesn't support property or method 'addeventlistener'Error Message-2:There has bee....
分类:
其他好文 时间:
2014-09-22 14:16:42
阅读次数:
253
言归正传,这里我们主要描述Java已经实现的一些加密解密算法,最后介绍数字证书。 如基本的单向加密算法:BASE64 严格地说,属于编码格式,而非加密算法 MD5(Message Digest algorithm 5,信息摘要算法) SHA(Secure Hash Algorithm,安全散列算法....
分类:
其他好文 时间:
2014-09-22 12:49:02
阅读次数:
273
申明:在一个项目中必不可少的是Logger和错误信息的配置,现在给出在我们常用的处理方法。—、创建一个ConfigUtils类和他对应的rah.properties文件和Test测试类ConfigUtis:package com.rah;import java.io.IOException;impo...
分类:
其他好文 时间:
2014-09-22 01:03:31
阅读次数:
662