<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dennis&#039; Blog of Indiscriminate &#187; Java</title>
	<atom:link href="http://hkdennis2k.homeip.net/cat/%e9%9b%bb%e8%85%a6%e5%92%8c%e7%b6%b2%e9%9a%9b%e7%b6%b2%e8%b7%af/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://hkdennis2k.homeip.net</link>
	<description>I thought what I’d do was, I’d pretend I was one of those deaf-mutes</description>
	<lastBuildDate>Fri, 20 Nov 2009 14:59:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>lambdaj &#8211; Project Hosting on Google Code</title>
		<link>http://hkdennis2k.homeip.net/2009/09/22/lambdaj-project-hosting-on-google-code/</link>
		<comments>http://hkdennis2k.homeip.net/2009/09/22/lambdaj-project-hosting-on-google-code/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:27:17 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[電腦和網際網路]]></category>

		<guid isPermaLink="false">http://hkdennis2k.homeip.net/?p=5300761</guid>
		<description><![CDATA[lambdaj &#8211; Project Hosting on Google Code.
看過好幾個 LINQ like closure solution on Java 的 syntax
用 lambdaj 的實現的 &#8220;Hello World&#8221; 也可以說是最簡單和和 Programmer Friendly
Java 相比 C# 係實現 LINQ / closure 最大問題係原自 Language Syntax
在不改變 Java Language 本身嘅情況下, 最多都只係類似 lambdaj 那種 很多很多 (((會眼花) 好易打錯(的多層 static method lambdaj)) 寫法
而且大量利用 Proxy 和 static method 的情況下, 程式的可讀性會出現問題
C# 有 delegate (a.k.a function pointer), [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/lambdaj/" onclick="pageTracker._trackPageview('/outgoing/code.google.com/p/lambdaj/?referer=');">lambdaj &#8211; Project Hosting on Google Code</a>.</p>
<p>看過好幾個 LINQ like closure solution on Java 的 syntax</p>
<p>用 lambdaj 的實現的 &#8220;Hello World&#8221; 也可以說是最簡單和和 Programmer Friendly</p>
<p>Java 相比 C# 係實現 LINQ / closure 最大問題係原自 Language Syntax</p>
<p>在不改變 Java Language 本身嘅情況下, 最多都只係類似 lambdaj 那種 很多很多 <strong>(((會眼花) 好易打錯(的多層 static method lambdaj))</strong> 寫法<br />
而且大量利用 Proxy 和 static method 的情況下, 程式的可讀性會出現問題</p>
<p>C# 有 delegate (a.k.a function pointer), 而且 delegate 都是 strong typed 的, 有很多都可以利用它來簡化<br />
C# 甚至加入近幾狂亂的 Expression 去簡化往日很多由  programmer 的好多手工作業 (雖然我唔知道除左 LINQ 重有咩地方會想去用 Expression&#8230;.PF? WF?)<br />
C# 加入了 Extension Method 去修正先後次序的可讀性問題</p>
<p>我最近在 C# 實作了動態 ExpressionTree Builder &#8230;&#8230;..對把這種功能整合到 Syntax 和 Compiler 有很深的體會, 那真的簡單很多很多很多</p>
<p>C# 3.0 很美, 但 Visual Studio 卻&#8230;..唉~~~ 都是 Eclipse 的錯&#8230;&#8230;&#8230;寫不到 C#</p>
<p>Java 7, 依目前我所知的, 是跟不上 C#</p>
]]></content:encoded>
			<wfw:commentRss>http://hkdennis2k.homeip.net/2009/09/22/lambdaj-project-hosting-on-google-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse VE 復活!?</title>
		<link>http://hkdennis2k.homeip.net/2009/06/27/eclipse-ve-%e5%be%a9%e6%b4%bb/</link>
		<comments>http://hkdennis2k.homeip.net/2009/06/27/eclipse-ve-%e5%be%a9%e6%b4%bb/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 02:49:51 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[VE]]></category>

		<guid isPermaLink="false">http://hkdennis2k.homeip.net/?p=5300701</guid>
		<description><![CDATA[Life’s Passion » Blog Archive » Eclipse VE gets revived!.
Welcome back of VE in Eclipse stream after more than two years’ sleeping
]]></description>
			<content:encoded><![CDATA[<p><a href="http://dev.eclipse.org/blogs/yvesyang/2009/06/26/eclipse-ve-gets-revived/" onclick="pageTracker._trackPageview('/outgoing/dev.eclipse.org/blogs/yvesyang/2009/06/26/eclipse-ve-gets-revived/?referer=');">Life’s Passion » Blog Archive » Eclipse VE gets revived!</a>.</p>
<p>Welcome back of VE in Eclipse stream after <strong>more than two years’</strong> sleeping</p>
]]></content:encoded>
			<wfw:commentRss>http://hkdennis2k.homeip.net/2009/06/27/eclipse-ve-%e5%be%a9%e6%b4%bb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>網摘: Yet Another Java Blog: Intro to Caching,Caching algorithms and caching frameworks part 1</title>
		<link>http://hkdennis2k.homeip.net/2009/05/04/%e7%b6%b2%e6%91%98-yet-another-java-blog-intro-to-cachingcaching-algorithms-and-caching-frameworks-part-1/</link>
		<comments>http://hkdennis2k.homeip.net/2009/05/04/%e7%b6%b2%e6%91%98-yet-another-java-blog-intro-to-cachingcaching-algorithms-and-caching-frameworks-part-1/#comments</comments>
		<pubDate>Mon, 04 May 2009 14:07:08 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[網摘]]></category>
		<category><![CDATA[電腦和網際網路]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://hkdennis2k.homeip.net/2009/05/04/%e7%b6%b2%e6%91%98-yet-another-java-blog-intro-to-cachingcaching-algorithms-and-caching-frameworks-part-1/</guid>
		<description><![CDATA[Introduction:
A lot of us heard the word cache and when you ask them about caching they give you a perfect answer but they don’t know how it is built, or on which criteria I should favor this caching framework over that one and so on, in this article we are going to talk about Caching, [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><span style="text-decoration: underline;"><span style="font-size: 130%;">Introduction:</span></span></p>
<p>A lot of us heard the word cache and when you ask them about caching they give you a perfect answer but they don’t know how it is built, or on which criteria I should favor this caching framework over that one and so on, in this article we are going to talk about Caching, Caching Algorithms and caching frameworks and which is better than the other.</p></blockquote>
<p><a href="http://javalandscape.blogspot.com/2009/01/cachingcaching-algorithms-and-caching.html" onclick="pageTracker._trackPageview('/outgoing/javalandscape.blogspot.com/2009/01/cachingcaching-algorithms-and-caching.html?referer=');">Yet Another Java Blog: Intro to Caching,Caching algorithms and caching frameworks part 1</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hkdennis2k.homeip.net/2009/05/04/%e7%b6%b2%e6%91%98-yet-another-java-blog-intro-to-cachingcaching-algorithms-and-caching-frameworks-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>網摘: code_swarm of Eclipse and others</title>
		<link>http://hkdennis2k.homeip.net/2009/04/17/%e7%b6%b2%e6%91%98-code_swarm-of-eclipse-and-others/</link>
		<comments>http://hkdennis2k.homeip.net/2009/04/17/%e7%b6%b2%e6%91%98-code_swarm-of-eclipse-and-others/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 12:36:52 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[網摘]]></category>
		<category><![CDATA[電腦和網際網路]]></category>
		<category><![CDATA[code_swarm]]></category>

		<guid isPermaLink="false">http://hkdennis2k.homeip.net/?p=5300606</guid>
		<description><![CDATA[code_swarm
An experiment in organic software visualization.


code_swarm &#8211; Eclipse (short ver.) from Michael Ogawa on Vimeo.
]]></description>
			<content:encoded><![CDATA[<h1><a href="http://vis.cs.ucdavis.edu/~ogawa/codeswarm/" onclick="pageTracker._trackPageview('/outgoing/vis.cs.ucdavis.edu/_ogawa/codeswarm/?referer=');">code_swarm</a></h1>
<p class="subtitle">An experiment in organic software visualization.</p>
<p class="subtitle">
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="225" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=1130828&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="225" src="http://vimeo.com/moogaloop.swf?clip_id=1130828&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://vimeo.com/1130828" onclick="pageTracker._trackPageview('/outgoing/vimeo.com/1130828?referer=');">code_swarm &#8211; Eclipse (short ver.)</a> from <a href="http://vimeo.com/michaelogawa" onclick="pageTracker._trackPageview('/outgoing/vimeo.com/michaelogawa?referer=');">Michael Ogawa</a> on <a href="http://vimeo.com" onclick="pageTracker._trackPageview('/outgoing/vimeo.com?referer=');">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hkdennis2k.homeip.net/2009/04/17/%e7%b6%b2%e6%91%98-code_swarm-of-eclipse-and-others/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boss, you have misunderstand on GWT and Gears</title>
		<link>http://hkdennis2k.homeip.net/2008/11/16/boss-you-have-misunderstand-on-gwt-and-gears/</link>
		<comments>http://hkdennis2k.homeip.net/2008/11/16/boss-you-have-misunderstand-on-gwt-and-gears/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 14:57:39 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[GWT]]></category>

		<guid isPermaLink="false">http://hkdennis2k.homeip.net/?p=5300253</guid>
		<description><![CDATA[It is good for &#8220;classic Web development&#8221; to &#8220;Web 2.0 development&#8221;. It is not for moving from fat client/server  application to web based application.
It cannot not do persistent, share, or collaboration without a server. You always need (at least) one server unless a classic client/server fat application.
- &#8220;database&#8221; in Gears is a rich replacement of [...]]]></description>
			<content:encoded><![CDATA[<p>It is good for &#8220;classic Web development&#8221; to &#8220;Web 2.0 development&#8221;. It is not for moving from fat client/server  application to web based application.</p>
<p>It cannot not do persistent, share, or collaboration without a server. You always need (at least) one server unless a classic client/server fat application.</p>
<p>- &#8220;database&#8221; in Gears is a rich replacement of cookie, by using of sqlite<br />
- GWT is &#8220;Java like syntax&#8221;, it is not Java. You cannot migrate your swing application to GWT. You can only share these soruce code in very very extreem cases.</p>
<p>From my point of view, RIA / AJAX are hot because they can  provide Rich user interface and can save some development time on &#8220;supporting function&#8221;.</p>
<p>AJAX Web application can help you that do a 3-tear application, rather a 4-tear application.</p>
<p>e.g.<br />
old 4-tear :<br />
Browser HTML &lt;-&gt; web app (control of GUI here)&lt;-&gt; web services &lt;-&gt; databases<br />
AJAX 3-tear :<br />
Browser AJAX/RIA &lt;-&gt; web services &lt;-&gt; databases</p>
<p>Programmers can spend less time on fighting with broad width, HTTP 1.1 specification, browser compatibility.</p>
]]></content:encoded>
			<wfw:commentRss>http://hkdennis2k.homeip.net/2008/11/16/boss-you-have-misunderstand-on-gwt-and-gears/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My comment on JavaFX</title>
		<link>http://hkdennis2k.homeip.net/2008/11/11/my-comment-on-javafx/</link>
		<comments>http://hkdennis2k.homeip.net/2008/11/11/my-comment-on-javafx/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 13:18:33 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[javafx]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://hkdennis2k.homeip.net/?p=5300215</guid>
		<description><![CDATA[10 years before, Sun was too early to press RIA with Applet.
10 years after, Sun was too late to press RIA with JavaFX.
I don&#8217;t think I&#8217;ll use JavaFX. And I don&#8217;t think it will not be a success RIA.
But I think that Sun can try. JavaFX will benefit feature improvement on Swing/JMF.
JavaFX will be useful, [...]]]></description>
			<content:encoded><![CDATA[<p>10 years before, Sun was too early to press RIA with Applet.<br />
10 years after, Sun was too late to press RIA with JavaFX.</p>
<p>I don&#8217;t think I&#8217;ll use JavaFX. And I don&#8217;t think it will not be a success RIA.<br />
But I think that Sun can try. JavaFX will benefit feature improvement on Swing/JMF.</p>
<p>JavaFX will be useful, IF it is the widely used in Netbeans it self.<br />
They will find what&#8217;s the problem with it and fix it.</p>
<p>We will have a standard of describe the GUI in Java (even if another JSR to replace the JavaFX later).</p>
<p>&#8212;</p>
<p>JavaFX is &#8220;programming&#8221; the GUI. but not simply describe it statistically.</p>
<p>Personally, I prefer something like XUL even XAML over JavaFX.<br />
I don&#8217;t see how JavaFX can abstract the UI to &#8220;any implementation&#8221;.</p>
<p>There is an implementation that can almost render XAML in Swing and SWT already.</p>
<p>&#8212;<br />
Please correct me if I wrong.<br />
Is JavaFX Script more like &#8220;the ActionScript in Flash&#8221;, but it isJava rather then ECMAScript ?</p>
]]></content:encoded>
			<wfw:commentRss>http://hkdennis2k.homeip.net/2008/11/11/my-comment-on-javafx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Effective Java &#8211; 2nd Edition</title>
		<link>http://hkdennis2k.homeip.net/2008/10/30/effective-java-2nd-edition/</link>
		<comments>http://hkdennis2k.homeip.net/2008/10/30/effective-java-2nd-edition/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 14:30:13 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[圖書]]></category>
		<category><![CDATA[Effective Java]]></category>

		<guid isPermaLink="false">http://hkdennis2k.homeip.net/?p=5300168</guid>
		<description><![CDATA[
Effective Java &#8211; 2nd Edition
很久以前好像看過一次 1st edition。上上周0從 HKPL 借來，放了一個多星期沒有碰，這兩天有空就很快的把這本書看完了（Because I have to return it this weekend）。其實內容很多都是我很早就知道的東西，所以沒仔細看，把大多細字都跳過，只讀 subject, bold statement 和 summery 其實已經很足夠。（不過應該只限本來就很熟的人才可以這樣做）
始終這本書都比較中階入門級，沒有很廣泛很深入的去說明其他不同的場合的應對方式。
&#8230;&#8230;..不知有沒有一本相對的書是說 C#？ Effective .NET？
]]></description>
			<content:encoded><![CDATA[<p><a title="更多關於Effective Java" href="http://www.anobii.com/books/01685aa55a4ea3ae28/" onclick="pageTracker._trackPageview('/outgoing/www.anobii.com/books/01685aa55a4ea3ae28/?referer=');"><img style="padding: 5px;" title="更多關於Effective Java" src="http://image.anobii.com/anobi/image_book.php?type=4&amp;item_id=01685aa55a4ea3ae28&amp;time=0" alt="Effective Java的圖像" /><br />
Effective Java &#8211; 2nd Edition</a></p>
<p>很久以前好像看過一次 1st edition。上上周0從 HKPL 借來，放了一個多星期沒有碰，這兩天有空就很快的把這本書看完了（Because I have to return it this weekend）。其實內容很多都是我很早就知道的東西，所以沒仔細看，把大多細字都跳過，只讀 subject, bold statement 和 summery 其實已經很足夠。（不過應該只限本來就很熟的人才可以這樣做）</p>
<p>始終這本書都比較<strong>中階入門級</strong>，沒有很廣泛很深入的去說明其他不同的場合的應對方式。</p>
<p>&#8230;&#8230;..不知有沒有一本相對的書是說 C#？ Effective .NET？</p>
]]></content:encoded>
			<wfw:commentRss>http://hkdennis2k.homeip.net/2008/10/30/effective-java-2nd-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
