<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5027398583557058602</id><updated>2012-02-16T05:01:20.065-08:00</updated><category term='this'/><category term='POST'/><category term='EL'/><category term='JSP'/><category term='构造器'/><category term='JJSP'/><category term='super'/><category term='元素'/><category term='JSTL'/><category term='抽象类'/><category term='指令'/><category term='core java'/><category term='GET'/><category term='Java'/><category term='equals'/><category term='.NET'/><title type='text'>相信自己</title><subtitle type='html'>If you think you can, you can!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-2455693264636745063</id><published>2008-09-01T21:18:00.000-07:00</published><updated>2008-09-01T21:20:52.806-07:00</updated><title type='text'>外卖汇</title><summary type='text'>http://www.waimaihui.comhttp://www.waimaihui.com/StaticAllStore.htmhttp://www.waimaihui.com/StaticAllAreaMark.htm</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/2455693264636745063/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=2455693264636745063' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2455693264636745063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2455693264636745063'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2008/09/blog-post.html' title='外卖汇'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-3774793443971065996</id><published>2007-10-10T18:23:00.001-07:00</published><updated>2007-10-10T18:23:06.659-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>《.NET设计规范》——学习笔记(3) 命名规范</title><summary type='text'>一组一致的的命名约定对框架的可用性及其重要。 名字要易于理解，同时必须传达每个元素的功能。 大小写约定 标识符的大小写规则 PascalCasing：如HtmlTag  IOStream camelCasing：如htmlTag  ioStream  要把PascalCasing用于由多个单词构成的名字空间、类型、以及成员的名字；  要把camelCasing用于参数的名字。 通用命名约定 单词的选择 对框架中标识符的名字来说，很重要的一点是一目了然。 名字的意思清楚比长度短更重要。名字应该与场景、系统的逻辑组成或物理组成以及为人熟知的概念相对应，而不应该与技术或框架相对应。  要为标识符选择易于阅读的名字；  要更看重可读性，而不是更看重简短性；  不要使用下划线、连字符以及其他任何既非字母也非数字的字符；  不要使用匈牙利命名法；  避免使用与广泛使用的编程语言的关键字有冲突的标识符</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/3774793443971065996/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=3774793443971065996' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3774793443971065996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3774793443971065996'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/10/net3.html' title='《.NET设计规范》——学习笔记(3) 命名规范'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-4782873467677099641</id><published>2007-09-20T23:25:00.001-07:00</published><updated>2007-09-20T23:25:22.608-07:00</updated><title type='text'>Adobe Flex 3最有趣的特征之一 :Web设计者和开发者的相遇</title><summary type='text'>   著：Yakov Fain 译：叶进  Adobe将于2008年二月左右发布Flex 3.它有增加了一些新的改进和特色，尤其是它将使Flash设计者和Flex开发者结合在一起。CS3可以很容易的使Flex融入到Flash IDE的发布时间线上。Flash中的容器创建在Flex中将会得到足够多的发展。为了开发Flash CS3，你必须要有个一个Flex组件工具包。这就使得Flash艺术拥护者必须去学习至少一点点Flex的基础知识，那会使他们获得在接下来的几年中获得更多的市场。  在今年的早些时候，我看到MS发布了Sliver流。我对这种可以被一个对于Web设计一窍不通的人开发的绚丽的GUI应用印象非常深刻。他（用时间线）创建了一个绚丽的画面，并且为Sillverlight开发者增加了添加他们自己写代码的地方。现在，Flash设计者也可以非常简单地就整合Flex为他们的作品添加代码了。</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/4782873467677099641/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=4782873467677099641' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4782873467677099641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4782873467677099641'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/09/adobe-flex-3-web.html' title='Adobe Flex 3最有趣的特征之一 :Web设计者和开发者的相遇'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-8651397333507621830</id><published>2007-09-20T02:10:00.001-07:00</published><updated>2007-09-20T02:10:24.889-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>漫谈C#之关键字（1）</title><summary type='text'>    每一种语言都有非常多的关键字，而且这些关键字也都大同小异，不过毕竟还是有些许的不一样。有些关键字大家碰到的多了，自然就熟悉了，但是有些关键字用得不大多，或者是新引入的，所以就不大熟悉了。我平常在用的时候，就是会碰到一些关键字，感觉有点生疏，平常也会把这些我不懂的关键字的用法了解一下并记录下来。想到应该也有很多跟我同样的人，所以就把我的记录跟大家分享一下。请各位tx多多指正！访问关键字    base：用于派生类中访问基类的成员   调用基类上已被其他方法重写的方法  1 public override void GetInfo()2 {3 base.GetInfo(); // 调用基类上的GetInfo方法4 } 指定创建派生类实例时应用的基类构造函数  1 public MyDerived() : base() // 调用基类的构造函数2 {}    从静态方法中使用base</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/8651397333507621830/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=8651397333507621830' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8651397333507621830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8651397333507621830'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/09/c1.html' title='漫谈C#之关键字（1）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-6179538382998169844</id><published>2007-09-05T23:03:00.001-07:00</published><updated>2007-09-05T23:03:23.091-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>《.NET设计规范》——学习笔记（2.5）框架设计基础</title><summary type='text'>这篇文章在一定程度上是对前面几篇文章的一个总结。 一个成功的通用框架必须是为广大具有不同的需求、技能和背景的开发人员而设计的。框架设计师面临的最大挑战是为这些多样化的用户群提供即简单又功能强大的框架。  要设计即功能强大又易于使用的框架。80/20原则。 要把精力集中在框架中使用最为频繁的部分（20%） 要明确地为具有不同编程风格、需求、技能以及使用不同编程语言的开发人员设计框架。 要了解哪些使用多语言框架的广大开发人员。我们往往会只为自己设计API，而没有清楚地考虑用户的真正需求。 渐进框架  针对不同的使用场景，为不同的开发团体提供不同的产品，这种多框架的方法在某种程度上说是成功的，比如MS有Visual Basic程序库，有Win32程序库，也有MFC和ATL，但它也存在严重的缺点：多框架使得使用某个框架的开发人员难以将他们的知识转移到下一个技能等级或使用场景（这通常需要另一个框架</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/6179538382998169844/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=6179538382998169844' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6179538382998169844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6179538382998169844'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/09/net25.html' title='《.NET设计规范》——学习笔记（2.5）框架设计基础'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-8042961901055358758</id><published>2007-09-05T01:51:00.001-07:00</published><updated>2007-09-05T01:51:58.976-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>《.NET设计规范》——学习笔记（2.4）分层架构原则</title><summary type='text'>分层设计使得在单个框架中同时提供强大的功能和易用性成为可能。  考虑对框架进行分层，使高层API能提供最佳的开发效率，低层API能提供最强大的功能和最丰富的表现力。通俗地讲，象我这样的菜鸟只能用高层API，太低层都不懂，而牛人们都是想用也更愿意用低层API的强大功能的（个人意见）。ps：这边的高层跟低层不是指高深的意思。而是从易用性方面考虑的！  避免把低层API和高层API混在同一名字空间中，如果低层API非常复杂的话（即包含了许多类型）。  要确保单个特性域中不同的层能很好的集成在一起。</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/8042961901055358758/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=8042961901055358758' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8042961901055358758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8042961901055358758'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/09/net24.html' title='《.NET设计规范》——学习笔记（2.4）分层架构原则'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-5053192003972337401</id><published>2007-09-04T22:07:00.001-07:00</published><updated>2007-09-04T22:07:10.729-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>《.NET设计规范》——学习笔记（2.3）自说明对象原则</title><summary type='text'>在简单的使用场景中，一定要让框架无需文档就能使用。  要确保API是直观的，无需查阅参考文档就能用于基本场景你总不希望写个“Hello World”都去查阅API文档吧。  要为所有的API提供优秀的文档。一方面，并非所有的API都能自说明。不同的人会认为不同的API是自说明的；另一方面，有些人想在开始使用API之前完全理解它们。 设计自说明API时最重要的一些考虑因素：  命名要在规范检查中重视标识符名称的选择；不要担心标识符的名字太冗长；       一眼就能看出相应的方法是做什么的，类型和参数是表示什么意思。       而且类型的名字如果足够好，那么用到这些类型的代码会更易于立即和维护。要在设计过程的初期就让用户教育专家参与；考虑把最好的名字留给最常用的类型。  异常 要通过异常消息来清楚地告诉开发人员对框架的误用。  强类型 很明显，调用Customer.Name要比调用</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/5053192003972337401/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=5053192003972337401' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5053192003972337401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5053192003972337401'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/09/net23.html' title='《.NET设计规范》——学习笔记（2.3）自说明对象原则'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-57900156207294301</id><published>2007-09-02T20:36:00.001-07:00</published><updated>2007-09-02T20:36:21.410-07:00</updated><title type='text'>做礼拜</title><summary type='text'>又是一周过去了，星期一又来了！早上，在公司里偷个空，写点东东： 昨天是星期日：基督徒做礼拜的日子！ 自从呆子去年去了英国，也有一年多没见到她了。昨天我们越好见面的，还有冲哥和晓丹！昨天也是她要做礼拜的日子：她在英国受洗了！我以前也从来没有见识过基督教做礼拜的场景，所以跟呆子说，也想看看。我到富阳的时候他们的仪式已经开始了，我到的时候，上面是长老在做报告类似的，因为讲得是富阳话，我不大听得懂；不过这个很快也就结束了（大概是在我来之前已经讲了很久了:-P）。然后，他们就开始唱圣歌，唱了很多，我个人感觉那个旋律还不错，也很容易上口，也跟着唱了几首。圣歌中都是些赞颂耶稣，赞颂主的，也有一些是说希望主不要摒弃他们的，还有就是希望主收留他们。呆子，一直都在非常虔诚的唱，而且每次低头祷告的时候都非常虔诚（我作为外人，自然体会不到其中的滋味）。唱完圣歌，过后是讲了一段圣经上的内容，我们四个人，除了呆子，</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/57900156207294301/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=57900156207294301' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/57900156207294301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/57900156207294301'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/09/blog-post.html' title='做礼拜'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-1735483089994505391</id><published>2007-09-02T18:58:00.001-07:00</published><updated>2007-09-02T18:58:49.110-07:00</updated><title type='text'>《.NET设计规范》——学习笔记（2.2）低门栏原则</title><summary type='text'>框架必须以易于使用的方式来为普通用户提供一个低门栏。 每个人在第一次接触一个新框架时，都希望其是简单而功能强大的。如果他一开始就感觉其很复杂，则会望而却步。  要确保每个特性域的名字空间只包含哪些用于最常见场景的类型。应该把用于更高级的场景的类型放在子名字空间中。例如：System.Net命名空间提供了有关网络的主要API，而更高级的socket API则位于System.Net.Socket子命名空间。  要为构造函数和方法提供简单的重载函数。参数少，且都是基本类型。  不要在为主要的使用场景而设计类型中包含用于高级场景（这里我个人感觉是不常用的意思）的方法。通过从框架中减少（或至少不增加）特性，能够使开发人员更有效率。因为需要处理的概念减少了。CLR把多重继承排除在外就是这个原因。  不要要求用户在最基本的场景中显示地实例化一个以上的类型。  </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/1735483089994505391/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=1735483089994505391' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/1735483089994505391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/1735483089994505391'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/09/net22.html' title='《.NET设计规范》——学习笔记（2.2）低门栏原则'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-5537525507939327515</id><published>2007-08-29T02:32:00.001-07:00</published><updated>2007-08-29T02:32:38.190-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>《.NET设计规范》——学习笔记（2）框架设计的基本原则</title><summary type='text'>由于我怕文章的篇幅过长会使人看了头痛，所以，我打算分几篇文章把《.NET设计规范》第二章的学习笔记写出来，这样大家看着不至于太累！大概是接下去总共五篇文章是说“框架设计基础”的......    &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 468;google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "text_image";//2007-08-27: FileMidgoogle_ad_channel = "0152175912";//--&gt;   对用户而言，真正的开发效率来自能够轻易地创造出非凡的产品，而并非来自能够轻易地创造垃圾。 场景驱动设计的原则 框架通常包含非常大的一组API。但在开发过程中，</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/5537525507939327515/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=5537525507939327515' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5537525507939327515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5537525507939327515'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/net2.html' title='《.NET设计规范》——学习笔记（2）框架设计的基本原则'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-525907320966047884</id><published>2007-08-27T23:11:00.001-07:00</published><updated>2007-08-27T23:11:25.857-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><title type='text'>《.NET设计规范》——学习笔记（1）</title><summary type='text'>第一章 概述 如果框架的设计者能够站在使用者背后解释应该如何使用框架，那么就不需要同规范了。   精心设计的框架所具备的品质  简单性在设计框架时，宁可不要某个特性比较复杂的设计，也不能破坏整体的简单性。  设计代价高框架设计需要耗费大量的资源。框架设计应该是开发过程中明确而独立的一部分。  精心设计的框架充满利弊权衡没有十全十美的东西。  应该借鉴过去站在前人的肩膀上。  要考虑未来的发展考虑将来发展框架是一把“双刃剑”。一方面，它以“万一”的名义增加复杂性；另一方面，它可以避免让设计随着时间的流逝而贬值，或避免产生无法向后兼容的设计。  应具有良好的集成性  一致性一致性是精心设计的框架的关键特征，它是影响开发效率的最重要因素之一。一致的框架可以是开发人员从框架中已了解的部分推知不了解的部分。一致性同时还可以帮助开发人员很快地认识到，设计的哪些部分是某个特定区域所独有的，</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/525907320966047884/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=525907320966047884' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/525907320966047884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/525907320966047884'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/net1.html' title='《.NET设计规范》——学习笔记（1）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-6781001576042904733</id><published>2007-08-27T05:28:00.001-07:00</published><updated>2007-08-27T05:28:45.321-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>java垃圾收集算法(转)</title><summary type='text'> 很长的一篇文章，不过看看应该有所助益！转自：java垃圾收集算法   &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 728;google_ad_height = 90;google_ad_format = "728x90_as";google_ad_type = "text_image";//2007-08-27: youhuagoogle_ad_channel = "1405522066";//--&gt;  1．垃圾收集算法的核心思想 Java语言建立了垃圾收集机制，用以跟踪正在使用的对象和发现并回收不再使用（引用）的对象。该机制可以有效防范动态内存分配中可能发生的两个危险：因内存垃圾过多而引发的内存耗尽，以及不恰当的内存释放所造成的内存非法引用。 垃圾收集算法的核心思想是：对虚拟机可用内存空间，</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/6781001576042904733/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=6781001576042904733' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6781001576042904733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6781001576042904733'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/java_27.html' title='java垃圾收集算法(转)'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-2472963583359558026</id><published>2007-08-26T07:53:00.001-07:00</published><updated>2007-08-26T07:53:05.948-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><title type='text'>接口和抽象类的定义方式举例说明(转)</title><summary type='text'>本位转自中国IT实验室 原文地址：接口和抽象类的定义方式举例说明 接口定义关于java的接口定义方式，以下三种情况下可以采用接口定义方式：1.    接口中声明的变量全部为final 和static类型的，并且这个接口的作用在于定义一些值不能改变的变量。举个例子：public interface ObjectConstants{public static final String SPACE = new String(" ");public static final char FORMFEED = '\f';}2.    接口中只定义可供实现的抽象方法EventListener.java    public interface EventListener {    public void handleEvent(Event evt);    }Runnable.javapackage </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/2472963583359558026/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=2472963583359558026' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2472963583359558026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2472963583359558026'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/blog-post_26.html' title='接口和抽象类的定义方式举例说明(转)'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-629961177210682639</id><published>2007-08-24T05:54:00.001-07:00</published><updated>2007-08-24T05:54:27.828-07:00</updated><title type='text'>如何获得数据库里所有表的名字（转）</title><summary type='text'>在CSDN上看到这篇文章，感觉很有用，不敢独享，转过来大家一起看看！ 平时我们操作比较多的都是表里的数据，也许突然有一天会需要把所有表的名字都列出来看一看——比如，你的论坛是按每个版块一个表来管理的，这时候你要在首页列出各版块的名字。应该怎么办呢？  肯定得用SELECT吧……但我们平时使用SELECT操作的数据都是表里的数据，表的名字并不是表的数据，这可怎么办呢？  ......  原文是用Ｃ#实现的，不过我感觉用其他的语言（比如Java）也是很简单的。   下面是这篇文章的链接：  如何获得数据库里所有表的名字   &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 468;google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/629961177210682639/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=629961177210682639' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/629961177210682639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/629961177210682639'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/blog-post_24.html' title='如何获得数据库里所有表的名字（转）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-3635534619791279361</id><published>2007-08-24T05:53:00.001-07:00</published><updated>2007-08-24T05:53:09.827-07:00</updated><title type='text'>Java中堆和栈的区别(转)</title><summary type='text'>      本文摘自天极网     作者：dave     原文出处：Java中堆和栈的区别  &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 336;google_ad_height = 280;google_ad_format = "336x280_as";google_ad_type = "text_image";//2007-08-24: youhuagoogle_ad_channel = "1405522066";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "0000FF";google_color_text = "191919";google_color_url = "002E3F";/</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/3635534619791279361/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=3635534619791279361' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3635534619791279361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3635534619791279361'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/java_24.html' title='Java中堆和栈的区别(转)'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-8053591086232393528</id><published>2007-08-21T18:52:00.001-07:00</published><updated>2007-08-21T18:52:02.782-07:00</updated><title type='text'>规范？！</title><summary type='text'> &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 250;google_ad_height = 250;google_ad_format = "250x250_as";google_ad_type = "text_image";//2007-08-21: youhuagoogle_ad_channel = "1405522066";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "333333";google_color_text = "000000";google_color_url = "008000";//--&gt;   &lt;!--google_ad_client = "pub-</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/8053591086232393528/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=8053591086232393528' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8053591086232393528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8053591086232393528'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/blog-post_21.html' title='规范？！'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-3984197879225354546</id><published>2007-08-18T07:06:00.001-07:00</published><updated>2007-08-18T07:06:14.113-07:00</updated><title type='text'>Core Java2 6th 摘要（8）</title><summary type='text'> &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 300;google_ad_height = 250;google_ad_format = "300x250_as";google_ad_type = "image";//2007-08-17: filemid Picgoogle_ad_channel = "6617677490";google_color_border = "000000";google_color_bg = "CAF99B";google_color_link = "0000FF";google_color_text = "000000";google_color_url = "008000";//--&gt;    &lt;!--google_ad_client = "pub-</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/3984197879225354546/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=3984197879225354546' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3984197879225354546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3984197879225354546'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-8.html' title='Core Java2 6th 摘要（8）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-160942354311360123</id><published>2007-08-17T06:59:00.001-07:00</published><updated>2007-08-17T06:59:55.139-07:00</updated><title type='text'>Core Java2 6th 摘要（7）</title><summary type='text'>&lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 336;google_ad_height = 280;google_ad_format = "336x280_as";google_ad_type = "text_image";//2007-08-17: youhuagoogle_ad_channel = "1405522066";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "38B63C";google_color_text = "000000";google_color_url = "000000";//--&gt;    &lt;!--google_ad_client = "pub-</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/160942354311360123/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=160942354311360123' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/160942354311360123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/160942354311360123'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-7.html' title='Core Java2 6th 摘要（7）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-6423366120785087318</id><published>2007-08-16T06:22:00.001-07:00</published><updated>2007-08-16T06:22:01.536-07:00</updated><title type='text'>挫折？鞭策！</title><summary type='text'>昨天，有提到关于餐馆的事，今天写了一下概要设计（以前好像从来没有写过），还有就是确定了数据的表。在做概要设计的时候（我是按照国标写的），发现，很多项都很烦的样子。主要是我都看不懂这些条目到底要写些什么，所以都搁在那边，不高兴写了。 我知道这是因为我以前都没有做过项目，我也提过了，原来课程上的那些项目只要写些文档就搞定了，而且还是很多人一起写文档，所以并不能真真的理解这个文档的作用，当然也不知道如何下手喽！我也知道文档的重要性，至少学校里的老师和书都是这么说的......呵呵！ &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 468;google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "text_image";//2007-</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/6423366120785087318/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=6423366120785087318' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6423366120785087318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6423366120785087318'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/blog-post_16.html' title='挫折？鞭策！'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-4943331600403565498</id><published>2007-08-16T02:29:00.001-07:00</published><updated>2007-08-16T02:29:05.768-07:00</updated><title type='text'>Core Java2 6th 摘要（6）</title><summary type='text'>内部类是定义在其他类内部的类。使用内部类的原因有以下四个：  内部类对象能够访问创建它的对象的实现——包括那些私有数据；  内部类能够隐藏起来，不为同一包中的其他类所见；  匿名内部类可以方便地定义运行时回调；  使用内部类在编写事件驱动的程序时用起来很方便。 局部类不会使用访问指示符（如public或者private）来声明。它们的范围总是限定在声明它们的程序快中。   你可以在运行时使用代理创建实现了一组给定接口的新类。只有在编译时无法确定要实现哪些接口时，才有必要使用代理。 &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 468;google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "text_image";//</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/4943331600403565498/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=4943331600403565498' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4943331600403565498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4943331600403565498'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-6.html' title='Core Java2 6th 摘要（6）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-2642694266267164690</id><published>2007-08-15T22:26:00.001-07:00</published><updated>2007-08-15T22:26:46.906-07:00</updated><title type='text'>My first Mashup!</title><summary type='text'>昨天，在MS上申请了一个Popfly帐户。今天，可以用了。 作为第一次使用Popfly，我选择了创建我的第一个Mashup，是根据它的向导来做的，做得不好，还请大家多多包涵。不过，我把它看作是一个起点...... </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/2642694266267164690/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=2642694266267164690' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2642694266267164690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2642694266267164690'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/my-first-mashup.html' title='My first Mashup!'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-3191567121438121133</id><published>2007-08-15T08:10:00.001-07:00</published><updated>2007-08-15T08:10:15.655-07:00</updated><title type='text'>新手入门:写Java程序的三十个基本规则</title><summary type='text'>  &lt;摘自天极网&gt;  2007-08-13 09:09 作者： Senton 出处： 天极Yesky软件频道 责任编辑：方舟    &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 468;google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "text_image";//2007-08-15: FileMidgoogle_ad_channel = "0152175912";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "000000";google_color_text = "000000";</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/3191567121438121133/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=3191567121438121133' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3191567121438121133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3191567121438121133'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/java.html' title='新手入门:写Java程序的三十个基本规则'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-2034005097580006438</id><published>2007-08-15T06:18:00.001-07:00</published><updated>2007-08-15T06:18:52.392-07:00</updated><title type='text'>Core Java2 6th 摘要（5）</title><summary type='text'>如同一个Employee对象描述一个特定员工的属性一样，一个Class类描述一个特定类的属性。Class类中最常用的方法可能就是getName，它能返回类的名称。 &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 468;google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "image";//2007-08-15: FileMidgoogle_ad_channel = "0152175912";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "000000";google_color_text = "000000";</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/2034005097580006438/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=2034005097580006438' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2034005097580006438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2034005097580006438'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-5.html' title='Core Java2 6th 摘要（5）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-673068992392335647</id><published>2007-08-14T23:00:00.001-07:00</published><updated>2007-08-14T23:00:42.456-07:00</updated><title type='text'>Windows编程——Windows编程基础（3）</title><summary type='text'>续。。。。。。。。 4. TextBox控件 文本框的主要用途是让用户输入文本，用户可以输入任何字符，也可以限制用户只输入数值。 .NET Framework内置了两个基本控件来提取用户输入的文本：TextBox和RichTextBox。这两个控件都派生于TextBoxBase，而TextBoxBase又派生于Control。 TextBoxBase提供了在文本框中处理文本的基本能力，例如选择文本、剪切和从剪切板上粘帖，以及许多事情。 &lt;!--google_ad_client = "pub-2823374497557651";google_ad_width = 468;google_ad_height = 60;google_ad_format = "468x60_as";google_ad_type = "text_image";//2007-08-14: </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/673068992392335647/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=673068992392335647' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/673068992392335647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/673068992392335647'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/windowswindows3.html' title='Windows编程——Windows编程基础（3）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-3138110145285874669</id><published>2007-08-14T05:56:00.001-07:00</published><updated>2007-08-14T05:56:28.788-07:00</updated><title type='text'>Come ON！</title><summary type='text'>钱一直在提关于餐馆的计划，昨天，提到了关于界面的设计问题，我也提出了我自己的一些看法，感觉应该如何如何。 对于这个，郭老师，好像也很支持的样子，感觉他也是有兴趣做这一块的事情的。我也认识到，我现在确实也没什么事情在做（或者说是能做），所以，我也主动提出由我来做做看（当时，好像是指界面）。 今天，在提起来的时候，我也感觉我非常想做这个系统，毕竟可以是我的一个切入口，学习和工作的切入口。我要好好的努力，抓住这个机会。况且，郭老师，也提过我可以做做这个系统，毕竟可以（要）慢慢地锻炼起来。 另一方面，我也认识到，其实这个系统不难，而且郭老师和晓鸣最近也很忙，所以我也是应该是主要的参与人员，或者说，基本上要由我来完成，我也想挑战一下。当然，期间会得到很多来自郭老师、晓鸣还有钱的帮助。 今天算是计划启动吧，初步确定启动。 定一下明天的任务：确定界面的选择（不过按照钱的意思，好像是三种方案都要做出来 </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/3138110145285874669/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=3138110145285874669' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3138110145285874669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3138110145285874669'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/come-on.html' title='Come ON！'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-1896398799449001080</id><published>2007-08-12T20:39:00.001-07:00</published><updated>2007-08-12T20:39:40.853-07:00</updated><title type='text'>Windows编程——Windows编程基础（2）</title><summary type='text'>续： 2. Button控件 按钮主要用于执行3类任务：  用某种状态关闭对话框（如OK和Cancel按钮）。  给对话框上输入的数据执行操作（如，输入一些搜索条件后，单击Search）。  打开另一个对话框或应用程序（如Help按钮）。 2.1 Button控件的属性： Buttom类最常用的属性，它们都是在ButtonBase基类中定义的。  FlatStyle：改变按钮的样式。  Enabled：把Enabled设置为false，则该按钮就会灰显，单击它，不会起任何作用。此属性派生于Control。  Image：可以指定一个在按钮上显示的图像（位图、图标等）。  ImageAlign：按钮上图像的显示位置。 2.2 Button控件的事件： private void button1_Click(object sender, EventArgs e) {...} 对于Click事件</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/1896398799449001080/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=1896398799449001080' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/1896398799449001080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/1896398799449001080'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/windowswindows2.html' title='Windows编程——Windows编程基础（2）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-4623253753849160048</id><published>2007-08-12T01:08:00.001-07:00</published><updated>2007-08-12T01:08:42.407-07:00</updated><title type='text'>Windows编程——Windows编程基础（1）</title><summary type='text'>1. 控件 在使用Windows窗体时，就是在使用System.Windows.Forms命名空间。 .NET中的大多数控件都派生于System.Windows.Form.Control类。这个类定义了控件的基本功能。还有一些控件称为定制或用户控件，派生于另一个类System.Windows.Forms.UserControl。这个类本身派生于Control类，提供了创建控件所需要的功能。另外，用于设计Web用户界面的控件派生于另一个类System.Web.UI.Control。  1.1 属性 所有控件都有许多属性，用于处理控件的操作。 下面是Control类最常见的属性： Anchor：指定当控件的容器的大小发生变化时，该控件如何响应。  BackColor：背景色  Bottom：指定控件的底部距离窗口的顶部有多远。这与指定控件的高度不同  Dock：可以使控件停靠在窗口的边界上 </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/4623253753849160048/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=4623253753849160048' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4623253753849160048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4623253753849160048'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/windowswindows1.html' title='Windows编程——Windows编程基础（1）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-7791079533940188303</id><published>2007-08-11T07:01:00.000-07:00</published><updated>2007-08-11T07:01:40.323-07:00</updated><title type='text'></title><summary type='text'> </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/7791079533940188303/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=7791079533940188303' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/7791079533940188303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/7791079533940188303'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/blog-post.html' title=''/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-2776819810411747053</id><published>2007-08-11T06:33:00.001-07:00</published><updated>2007-08-11T06:33:05.258-07:00</updated><title type='text'>J2EE相关名词解释</title><summary type='text'> (转自赛迪网)     容器：充当中间件的角色  WEB容器：给处于其中的应用程序组件（JSP，SERVLET）提供一个环境，使 JSP,SERVLET直接跟容器中的环境变量接口交互，不必关注其它系统问题。主要由WEB服务器来实现。例如：TOMCAT,WEBLOGIC, WEBSPHERE等。该容器提供的接口严格遵守J2EE规范中的 WEB APPLICATION 标准。我们把遵守以上标准的WEB服务器就叫做J2EE中的WEB容器。  EJB容器：Enterprise java bean容器。更具有行业领域特色。他提供给运行在其中的组件EJB各种管理功能。只要满足J2EE规范的EJB放入该容器，马上就会被容器进行高效率的管理。并且可以通过现成的接口来获得系统级别的服务。例如邮件服务、事务管理。  WEB容器和EJB容器在原理上是大体相同的，更多的区别是被隔离的外界环境。 WEB</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/2776819810411747053/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=2776819810411747053' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2776819810411747053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/2776819810411747053'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/j2ee.html' title='J2EE相关名词解释'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-7464173806707942000</id><published>2007-08-11T06:00:00.001-07:00</published><updated>2007-08-11T06:00:45.115-07:00</updated><title type='text'>Java程序员要掌握的十个JSP中的标签库</title><summary type='text'> (转自赛迪网)   Standard 这个库必不可少，因为它结合了对普通JSP的大量核心改进。它的一些特性包括：XML操作库、SQL库、特殊国际化功能、以及对迭代器和其它程序控制机制的支持。在需要高级流程控制结构、国际化功能或XML支持时使用这个库。 DateTime 这个库提供各种操作日期和时间的工具，包括恢复当前日期和时间、生成日期和月份列表、格式化日期和时间、时区转换。使用这个库可以方便地把日期和时间操作程序加入到你的应用程序中。 Mailer 这个库通过一个用户定义的SMTP服务器支持邮件发送，为你的JSP应用程序增加电子邮件发送功能。它还支持多位收件人、定制标题、MIME附件和错误处理。当需要在JSP页面中创建和发送电子邮件消息时使用这个库。 Cache 这个库为一个网站提供一个简单的缓冲框架。它将缓冲页面转译给客户端，允许你缓冲部分页面，缩短响应时间。</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/7464173806707942000/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=7464173806707942000' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/7464173806707942000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/7464173806707942000'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/javajsp.html' title='Java程序员要掌握的十个JSP中的标签库'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-3534114741871016848</id><published>2007-08-10T09:12:00.001-07:00</published><updated>2007-08-10T09:12:39.327-07:00</updated><title type='text'>Windows Live Writer</title><summary type='text'>刚刚下了这个Windows Live Writer，一款博客的客户端管理工具，微软出品。  还不知道好不好用，先用来做个测试吧，如果好用的话，以后就继续，并且推荐给各位；如果不好的话，呵呵，自然是......   ps：这个是beta版的。</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/3534114741871016848/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=3534114741871016848' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3534114741871016848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/3534114741871016848'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/windows-live-writer.html' title='Windows Live Writer'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-5908072552737885913</id><published>2007-08-10T03:56:00.000-07:00</published><updated>2007-08-10T05:04:08.433-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='抽象类'/><category scheme='http://www.blogger.com/atom/ns#' term='equals'/><category scheme='http://www.blogger.com/atom/ns#' term='core java'/><title type='text'>Core Java2 6th 摘要（4）</title><summary type='text'>方法参数共有两种：        基本类型（数字、布尔值）        对象引用：方法得到对对象引用的一个拷贝，原来的对象和这个拷贝所指向的是同一个对象。    方法不能改变基本类型的参数，但对于对象参数来说，情况有所不同。    Java程序设计语言中利用方法参数可以做到和做不到的几种情况：        方法不能修改基本类型的参数；        方法可以修改对象参数的状态；        方法不能让对象参数指向新的对象。    如果一个类声明为final，只有它的方法（而不包括字段）会被自动设为final。    在类型转换时，Java在运行时，系统会检查类型转换能否进行。若不能，则抛出异常。如果没有捕捉这个异常，程序就会终止。因此，要养成在类型转换之前先判断它是否能成功的编程习惯，这个判断只需要简单地使用instanceof操作符。    </summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/5908072552737885913/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=5908072552737885913' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5908072552737885913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5908072552737885913'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-4.html' title='Core Java2 6th 摘要（4）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-1415524131635431212</id><published>2007-08-09T22:01:00.000-07:00</published><updated>2007-08-09T22:35:29.361-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSTL'/><category scheme='http://www.blogger.com/atom/ns#' term='JJSP'/><category scheme='http://www.blogger.com/atom/ns#' term='POST'/><category scheme='http://www.blogger.com/atom/ns#' term='GET'/><category scheme='http://www.blogger.com/atom/ns#' term='EL'/><title type='text'>JSP基础1：创建动态页面实现数据表示（2）</title><summary type='text'>在JSP页面中可以嵌入采用另一种编程语言编写的代码，这称为脚本（scripting）。    有3中不同类型的脚本元素：        声明（declaration）        小脚本（scriptlet）        表达式（expression）    声明是用于声明变量和方法的Java代码。  形式如下：        &lt;%!.....Java声明放在这里......%&gt;        ......Java声明放在这里......    小脚本是任意的Java代码段。 形式如下：        &lt;% Java代码  %&gt;        ......Java代码......    表达式是能够生成一个结果值的Java表达式。执行JSP时，这个值会转换为一个文本串，并显示在脚本元素所在的位置。  形式如下：        &lt;%=......Java表达式......%&gt;</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/1415524131635431212/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=1415524131635431212' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/1415524131635431212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/1415524131635431212'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/jsp12.html' title='JSP基础1：创建动态页面实现数据表示（2）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-5821768674430015262</id><published>2007-08-09T06:42:00.000-07:00</published><updated>2007-08-09T07:18:07.087-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='super'/><category scheme='http://www.blogger.com/atom/ns#' term='构造器'/><category scheme='http://www.blogger.com/atom/ns#' term='this'/><category scheme='http://www.blogger.com/atom/ns#' term='core java'/><title type='text'>Core Java2 6th 摘要（3）</title><summary type='text'>继承在Java和C++中很相似.Java使用extends关键字代替了C++中的":"符号.Java中的任何继承都是公有继承;而没有和C++中的私有和受保护继承相似的概念.    有人认为super和this引用类似.这种类比是不准确的:super不是一个对对象的引用(比如你不能把值super赋给另一个对象变量),而是指示编译器调用超类方法的专用关键字.    Java中使用关键字super调用超类中方法.在C++中,相应的调用规则是在超类名字后加上"::"运算符.    this关键字有两个意思:一是表示对隐式参数的引用;一是调用同一类的其他构造器.同样super关键字也有两个意思:一是调用超类方法;一是调用超类构造器.当被用来调用构造器时,这两个关键字十分类似.在一个构造器中,对其他构造器的调用只能出现在第一行语句中.构造器参数既可以传递给同一个类的其他构造器(使用this),</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/5821768674430015262/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=5821768674430015262' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5821768674430015262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/5821768674430015262'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-3.html' title='Core Java2 6th 摘要（3）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-8109867873159810109</id><published>2007-08-09T06:40:00.000-07:00</published><updated>2007-08-09T06:41:55.661-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='core java'/><title type='text'>Core Java2 6th 摘要（2）</title><summary type='text'>Java中的构造器其工作方式和C++中的不一样，不过，要记住，所有的Java对象都是在堆中被构造的，而且构造器必须和new一起使用。    Employee number007("adai");    // 适用于C++，不适用于Java    注意不要返回指向可变对象的引用的访问方法。    如果需要返回一个指向可变对象的引用，我们首先需要克隆（clone）它。一个克隆是一个对象放在新位置的精确拷贝。    静态方法是不向对象施加操作的方法，所以不能用一个静态方法来访问实例字段，但是静态方法可以访问自身类中的静态字段。    public static int getID()   {......}    对静态方法的调用需要使用类的名字。    用static定义的变量、方法属于类，而不属于此类的特定对象。    只有在类中没有其他构造器时，系统才会提供默认构造器。</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/8109867873159810109/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=8109867873159810109' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8109867873159810109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/8109867873159810109'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-2.html' title='Core Java2 6th 摘要（2）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-6026496130406507870</id><published>2007-08-09T06:35:00.000-07:00</published><updated>2007-08-09T06:39:57.412-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='core java'/><title type='text'>Core Java2 6th 摘要(1)</title><summary type='text'>布尔类型：其值只能是false或true（而不是0或1）                    Java中布尔值和整数不能相互转换Java在变量命名中区分大小写。如Box和box是两个不同的名字Java中使用final来表示常量。                   一个常量在某个类的多个方法中都是可用的，这种常量通常称作类常量（class constants）位操作符:   &amp;(与)   |（或）   ^（异或）   ~（非）                    &lt;&lt;（左移位）比如  3 &lt;&lt; 1 表示11（二进制）左移1位，  变为110（二进制）                    &gt;&gt;（右移位）要测试两个字符串是否相等，可以使用equals方法。如果字符串s和t相同，那么表达式s.equals(t)将返回true，否则返回false。不要使用==操作符来检测两个字符相等与否！</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/6026496130406507870/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=6026496130406507870' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6026496130406507870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/6026496130406507870'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/core-java2-6th-1.html' title='Core Java2 6th 摘要(1)'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5027398583557058602.post-4827149286783832540</id><published>2007-08-09T00:08:00.000-07:00</published><updated>2007-08-09T06:42:16.986-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JSP'/><category scheme='http://www.blogger.com/atom/ns#' term='元素'/><category scheme='http://www.blogger.com/atom/ns#' term='指令'/><title type='text'>JSP基础1：创建动态页面实现数据表示（1）</title><summary type='text'>构成一个JSP页面的可见元素可以包含下面这些：    指令元素  directive element    模板元素  template data    动作  action    脚本元素  scripting element指令并不直接用来生成输出，相反，指令要用于控制JSP页面的某些特征。可以使用指令向JSP容器做一些特殊的指示，告诉JSP容器在翻译页面时要做些什么。    &lt;%@   指令   %&gt;    page指令    taglib指令    include指令page指令  定义JSP文件中的全局属性。    &lt;%@page %&gt;指令用于整个JSP页面，同样包括静态的包含文件。但是page指令不能作用于动态的包含文件，比如    可以在一个页面中用上多个&lt;%page   %&gt;指令，但是其中的属性只能用一次。不过也有个例外，那就是import属性。    无论page</summary><link rel='replies' type='application/atom+xml' href='http://adaitest.blogspot.com/feeds/4827149286783832540/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5027398583557058602&amp;postID=4827149286783832540' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4827149286783832540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5027398583557058602/posts/default/4827149286783832540'/><link rel='alternate' type='text/html' href='http://adaitest.blogspot.com/2007/08/jsp11.html' title='JSP基础1：创建动态页面实现数据表示（1）'/><author><name>呆子的生活</name><uri>http://www.blogger.com/profile/14201098848271694591</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
