www.carfield.com.hk books.txt 2020-06-08T16:02:20Z 2020-06-08T16:02:20Z <br/><a href="http://www.javalobby.org/articles/5books/">http://www.javalobby.org/articles/5books/</a> <br/><br/><a href="https://handwiki.org/wiki/Book:ThinkJava">https://handwiki.org/wiki/Book:ThinkJava</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2020-06-08T16:02:20Z VM.txt 2020-06-03T07:55:56Z 2020-06-03T07:55:56Z <br/>How to write a (toy) JVM - <a href="https://zserge.com/posts/jvm/">https://zserge.com/posts/jvm/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2020-06-03T07:55:56Z good.txt 2015-09-21T03:47:50Z 2015-09-21T03:47:50Z <br/><a href="http://blog.jooq.org/2014/04/09/java-rocks-more-than-ever/">http://blog.jooq.org/2014/04/09/java-rocks-more-than-ever/</a> <br/><br/><a href="http://www.javacodegeeks.com/2015/09/advanced-java.html">http://www.javacodegeeks.com/2015/09/advanced-java.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2015-09-21T03:47:50Z support.txt 2015-08-07T08:51:03Z 2015-08-07T08:51:03Z <br/>java-server-application-troubleshooting-using-jdk-tools - <a href="http://java-performance.info/java-server-application-troubleshooting-using-jdk-tools/">http://java-performance.info[..]ication-troubleshooting-using-jdk-tools/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2015-08-07T08:51:03Z idea of improving java language.txt 2013-02-11T03:47:44Z 2013-02-11T03:47:44Z <br/>These look interesting, worth to take a look:<br/><br/>1) Auto null checking: <a href="http://www.jroller.com/page/scolebourne?entry=adding_auto_null_checks_to">http://www.jroller.com[..]ebourne?entry=adding_auto_null_checks_to</a> <br/>I don't think this is a good idea as I don't think there is a way can handle default object reference more generic then NULL. However, I would like to have a way to customize NULL behaviour (or default NULL object). Say, for String, I will think empty string ("") is same as NULL. Thus, I would like to have define something like:<br/><pre><br/>public final class Strinig {<br/> null {<br/> return "";<br/> }<br/> // the rest of string implementation<br/>}<br/></pre><br/>Then the default reference of String, rather than point to NULL, now it point to an empty String.<br/><br/>2) Add closure to Java: <a href="http://www.jroller.com/page/scolebourne?entry=adding_closures_to_java_or">http://www.jroller.com[..]ebourne?entry=adding_closures_to_java_or</a> <br/>Not much comment, it is something nice to have but I don't think really add a lot of value, just like java5 foreach loop.<br/><br/>3) Auto casting: <a href="http://jroller.com/page/scolebourne?entry=adding_auto_casts_to_java">http://jroller.com[..]lebourne?entry=adding_auto_casts_to_java</a> <br/>I guess generic already does this?<br/><br/>Of course, there are still some other problem on some people's mind, like: <br/><a href="http://www.onlamp.com/lpt/a/3691">http://www.onlamp.com/lpt/a/3691</a> <br/><a href="http://nice.sourceforge.net/safety.html">http://nice.sourceforge.net/safety.html</a> <br/><br/>On the other hand, somebody don't like to change java language as it probably make your code less portable. <a href="http://www.eclipsezone.com/eclipse/forums/t54318.html">http://www.eclipsezone.com/eclipse/forums/t54318.html</a> <br/><br/>4) Some idea of useful util language - <a href="http://closingbraces.net/2007/03/05/strangelets/">http://closingbraces.net/2007/03/05/strangelets/</a> <br/><br/>5) API for adding feature - <a href="http://www.theserverside.com/news/thread.tss?track=NL-461&ad=636686&thread_id=49035">http://www.theserverside.com[..]s?track=NL-461&ad=636686&thread_id=49035</a> <br/><br/>A lot more other idea - <a href="http://blog.jooq.org/2013/02/04/java-if-this-were-a-better-world/">http://blog.jooq.org/2013/02/04/java-if-this-were-a-better-world/</a> <br/><br/>Drop extends - <a href="http://www.javaworld.com/javaworld/jw-01-2013/130110-what-if-java-8-dropped-extends.html?page=2">http://www.javaworld.com[..]at-if-java-8-dropped-extends.html?page=2</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2013-02-11T03:47:44Z default.txt 2012-12-25T13:14:19Z 2012-12-25T13:14:19Z <br/>Use annotation for default data, rather than hard code it - <a href="http://blog.joda.org/2012/12/annotating-jdk-default-data.html">http://blog.joda.org/2012/12/annotating-jdk-default-data.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-12-25T13:14:19Z tuning.txt 2012-04-18T15:22:31Z 2012-04-18T15:22:31Z <br/>Discussion about reducing latency - <a href="http://mechanical-sympathy.blogspot.co.uk/2012/03/fun-with-my-channels-nirvana-and-azul.html">http://mechanical-sympathy.blogspot.co.uk[..]n-with-my-channels-nirvana-and-azul.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-04-18T15:22:31Z factorial.txt 2011-01-27T14:41:09Z 2011-01-27T14:41:09Z <br/>A lot of difference implementation of factorial - <a href="http://chaosinmotion.com/blog/?p=622">http://chaosinmotion.com/blog/?p=622</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-01-27T14:41:09Z debugging.txt 2007-12-05T16:28:42Z 2007-12-05T16:28:42Z <br/>Cohen goes on to describe when and how to use each of these methods:<br/><br/>* Basic - breakpoints<br/>* Primal - debug messages<br/>* Hot Shot - dynamic proxy<br/>* Brute Force - run-time profiler<br/>* New Age - through aspects<br/><br/>A good overview - <a href="http://zvikico.typepad.com/problog/2007/11/five-ways-for-t.html">http://zvikico.typepad.com/problog/2007/11/five-ways-for-t.html</a> <br/><br/>Follow up discussion - <a href="http://www.theserverside.com/news/thread.tss?thread_id=47708&asrc=EM_NLN_2697526&uid=703565">http://www.theserverside.com[..]_id=47708&asrc=EM_NLN_2697526&uid=703565</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2007-12-05T16:28:42Z port other code to java.txt 2006-12-18T17:57:42Z 2006-12-18T17:57:42Z <br/>This look like a nice way to get legacy code to work with java, if it really work with more compehensive project<br/><br/><a href="http://binkley.blogspot.com/2006/12/brilliant-c-to-mips-to-java-bytecode.html">http://binkley.blogspot.com[..]rilliant-c-to-mips-to-java-bytecode.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2006-12-18T17:57:42Z complaint.txt 2006-11-11T15:43:25Z 2006-11-11T15:43:25Z <br/>Some interesting points, but I guess this guy will improve his productivity after familiar with java environment? - <a href="http://developers.slashdot.org/comments.pl?sid=165966&threshold=3&commentsort=0&tid=156&mode=thread&cid=13845934">http://developers.slashdot.org[..]tsort=0&tid=156&mode=thread&cid=13845934</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2006-11-11T15:43:25Z comment of final.txt 2006-05-29T03:58:43Z 2006-05-29T03:58:43Z <br/>I personally like to declare everything in final and immulatable so that it give me feel it more safe (e.g.: variable won't be replace with other value unexpected; method won't be override unexpected). The following is some discussion, see if you interested.<br/><br/><a href="http://tundra-programming.blogspot.com/2005/06/how-often-do-you-use-final.html">http://tundra-programming.blogspot.com[..]/2005/06/how-often-do-you-use-final.html</a> <br/><a href="http://bordet.blogspot.com/2005/07/weird-particular-in-javautilconcurrent.html">http://bordet.blogspot.com[..]rd-particular-in-javautilconcurrent.html</a> <br/><br/>Here is a few update that against using final, mainly against using final class but not final method and variable:<br/><a href="http://blogs.objectmentor.com/ArticleS.MichaelFeathers.ItsTimeToDeprecateFinal">http://blogs.objectmentor.com[..].MichaelFeathers.ItsTimeToDeprecateFinal</a> <br/><a href="http://www.cincomsmalltalk.com/blog/blogView?showComments=true&entry=3325667363">http://www.cincomsmalltalk.com[..]gView?showComments=true&entry=3325667363</a> <br/><a href="http://www.artima.com/forums/flat.jsp?forum=106&thread=161019">http://www.artima.com/forums/flat.jsp?forum=106&thread=161019</a> <br/><br/>And here is some support using final: <a href="http://www.churchillobjects.com/c/11027d.html">http://www.churchillobjects.com/c/11027d.html</a> <br/>Prevent security and memory leak in rare case: <a href="http://futuretask.blogspot.com/2006/05/java-tip-10-constructor-exceptions-are.html">http://futuretask.blogspot.com[..]a-tip-10-constructor-exceptions-are.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2006-05-29T03:58:43Z speed of sun.txt 2006-05-19T06:41:12Z 2006-05-19T06:41:12Z <br/><a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4097272">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4097272</a> <br/><a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058</a> <br/><br/>Also, top 25 bugs seem always the same? <a href="http://bugs.sun.com/bugdatabase/top25_bugs.do">http://bugs.sun.com/bugdatabase/top25_bugs.do</a> <br/><br/>Here is one nice blog about opensource java, see if anyone agree his position: <a href="http://software.ericsink.com/entries/Open_Source_Java.html">http://software.ericsink.com/entries/Open_Source_Java.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2006-05-19T06:41:12Z java transaction blog entry.txt 2006-03-27T04:09:38Z 2006-03-27T04:09:38Z <br/>Contain quite a number of link to useful resource: <a href="http://weblogs.java.net/blog/marklittle/archive/2006/03/transactions_ar_1.html">http://weblogs.java.net[..]e/archive/2006/03/transactions_ar_1.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2006-03-27T04:09:38Z problem of java logging at shared VM.txt 2006-02-20T08:55:21Z 2006-02-20T08:55:21Z <br/>There is a problem of logging if you run multiple web application at single JVM, you can take a look here to learn more about this.<br/><br/><a href="http://www.indicthreads.com/articles/406/logging_java_logmanager_shared_hosting.html">http://www.indicthreads.com[..]ging_java_logmanager_shared_hosting.html</a> <br/><br/>In our own expeerience, logging is not the major problem, it is easy to write a logging library. The main problem is updating individual application instance without affecting the other application instance. Finally we run individual tomcat for every application we host, which spend a lot more memory :-(<br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2006-02-20T08:55:21Z security of csharp and java.txt 2005-11-28T09:57:19Z 2005-11-28T09:57:19Z <br/>For me it is a security features overview of java and .net more than a<br/>comparison. Useful resource!<br/><br/><a href="http://www.oreillynet.com/pub/au/1370">http://www.oreillynet.com/pub/au/1370</a> <br/><br/>Overall, I believe C# provides greater expressiveness and is more suited to writing performance-critical code than Java, while sharing Java's elegance and simplicity, which makes both much more appealing than C++.<br/><br/><a href="http://genamics.com/developer/csharp_comparative.htm">http://genamics.com/developer/csharp_comparative.htm</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2005-11-28T09:57:19Z Arrays and Collections.txt 2005-10-14T10:42:28Z 2005-10-14T10:42:28Z <br/><a href="http://binkley.blogspot.com/2005/10/arrays-and-collections.html">http://binkley.blogspot.com/2005/10/arrays-and-collections.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2005-10-14T10:42:28Z Deprecation Discussion.txt 2005-07-06T17:55:24Z 2005-07-06T17:55:24Z <br/>Discuss whether deprecation api should be removed... My opinions is remove after a period, what is yours?<br/><br/><a href="http://blogs.sun.com/roller/page/jclingan?entry=deprecation_of_java_apis">http://blogs.sun.com[..]/jclingan?entry=deprecation_of_java_apis</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2005-07-06T17:55:24Z