摘要: http://stackoverflow.com/questions/1480236/does-a-tcp-socket-connection-have-a-keep-alivehttp://stackoverflow.com/questions/2735883/relation-between-h... 阅读全文
posted @ 2015-06-11 09:36 JosephLiao 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Reference: Getting started with NIOTable of contentsBefore you startInput/output: A conceptual overviewChannels and buffersFrom theory to practice: Re... 阅读全文
posted @ 2015-06-08 15:06 JosephLiao 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 基本概念通常HTTP协议的模型是 Request ---> Respond , 客户端主动发起请求,而服务器不会主动向客户端发起通信。为了达到数据同步,通常会采用Polling方式:客户端定时查询服务器。缺点是浪费带宽,响应有延迟(与查询间隔有关)。解决办法【Server Push】 推送技术基于H... 阅读全文
posted @ 2015-06-02 17:27 JosephLiao 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1. 多次选择相同的路径时,chooser.onchange 事件不触发参考链接Choosing the same directory multiple timesOnce the chooser has been used to select a directory (or the same fi... 阅读全文
posted @ 2015-05-29 11:57 JosephLiao 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 学习mavenpom.xml compile package install spring dependency injection 使用实例spring-context1 package hello;2 3 public interface MessageService {4 Strin... 阅读全文
posted @ 2015-05-07 19:08 JosephLiao 阅读(255) 评论(0) 推荐(0) 编辑
摘要: stackoverflow referencejava 概念图 阅读全文
posted @ 2015-05-07 16:49 JosephLiao 阅读(163) 评论(0) 推荐(0) 编辑
摘要: critical-section problema solution to critical-setion problem should satisfy 3 requiremnets:1.Mutual exclusion2.Progress3.Bounded waiting2 & 3的区别?有什么场... 阅读全文
posted @ 2015-04-30 14:04 JosephLiao 阅读(269) 评论(0) 推荐(0) 编辑
摘要: project-adding a system call to the linux kernel环境:Ubuntu 14.04.1 LTS1.准备内核源码:下载:WWW.kernel.org 解压:我选择解压到~/workspace/linuxKernel 目录下2.修改system table/l... 阅读全文
posted @ 2015-04-20 12:30 JosephLiao 阅读(540) 评论(2) 推荐(0) 编辑
摘要: (1) Blink cannot run alone, and (2) porting to other platforms happens at a different layer Instead of adding platform-specific code to Blink, you sh... 阅读全文
posted @ 2015-04-10 15:21 JosephLiao 阅读(333) 评论(0) 推荐(0) 编辑
摘要: System Callsthe system-call interface intercepts function calls in the API and invokes the necessary system call within the operating system.Interproc... 阅读全文
posted @ 2015-04-10 11:28 JosephLiao 阅读(232) 评论(0) 推荐(0) 编辑