读书笔记
文章平均质量分 77
zhangbill2000
这个作者很懒,什么都没留下…
展开
-
Oreilly.Java.Server.Pages.3rd.Edition.chm 笔记
1.Whats the difference between cgi and servlet? CGI is not an efficient solution. For every request, the web server has to create a new operating-system process, load a Perl interpreter and the Perl原创 2007-04-09 22:31:00 · 686 阅读 · 0 评论 -
SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055)
1.需要仔细看一下scjp的chapter3的Certification Objective —Garbage Collection (Exam Objective 7.4)1、 Chapter 1:Volatile VariablesThe volatile modifier tells the JVM that a thread accessing the variable must al原创 2007-04-16 23:01:00 · 1057 阅读 · 0 评论 -
java socket(nio)
最后一步是调用缓冲区的 clear() 方法。这个方法重设缓冲区以便接收更多的字节。 Clear 做两种非常重要的事情: 它将 limit 设置为与 capacity 相同。 它设置 position 为 0。现在我们要将数据写到输出通道中。在这之前,我们必须调用 flip() 方法。这个方法做两件非常重要的事: 它将 limit 设置为当前 position。 它将 position原创 2007-06-16 19:44:00 · 678 阅读 · 0 评论