Thu Nov 28 01:25:38 GMT 2013
From
/weblog/java/network
Sockets Direct Protocol – Write Once, Run Everywhere …. and Run (Some Places) Blazingly -
http://www.infoq.com/articles/Java-7-Sockets-Direct-Protocol
(google search)
(amazon search)
Mon Feb 11 03:47:44 GMT 2013
From
/weblog/java/discussion
These look interesting, worth to take a look:
1) Auto null checking:
http://www.jroller.com[..]ebourne?entry=adding_auto_null_checks_to 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:
public final class Strinig {
null {
return "";
}
// the rest of string implementation
}
Then the default reference of String, rather than point to NULL, now it point to an empty String.
2) Add closure to Java:
http://www.jroller.com[..]ebourne?entry=adding_closures_to_java_or 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.
3) Auto casting:
http://jroller.com[..]lebourne?entry=adding_auto_casts_to_java I guess generic already does this?
Of course, there are still some other problem on some people's mind, like:
http://www.onlamp.com/lpt/a/3691 http://nice.sourceforge.net/safety.html On the other hand, somebody don't like to change java language as it probably make your code less portable.
http://www.eclipsezone.com/eclipse/forums/t54318.html 4) Some idea of useful util language -
http://closingbraces.net/2007/03/05/strangelets/ 5) API for adding feature -
http://www.theserverside.com[..]s?track=NL-461&ad=636686&thread_id=49035 A lot more other idea -
http://blog.jooq.org/2013/02/04/java-if-this-were-a-better-world/ Drop extends -
http://www.javaworld.com[..]at-if-java-8-dropped-extends.html?page=2
(google search)
(amazon search)
Tue Oct 02 12:31:57 GMT 2012
From
/weblog/java/string
In core libraries like StringBuffer we should prefer the lesser evil of code duplication to the loss of performance. -
http://old.nabble.com[..]lder%7D-are-inconsistent-td34479926.html
(google search)
(amazon search)
Thu Jun 07 16:50:22 GMT 2012
From
/weblog/java/features
A dirty issue from Java Perference API
java.util.prefs.BackingStoreException: Couldn't get file lock.
at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:715)
at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:807)
at com.macquarie.st.adapter.rda.STServer.preparePrefs(STServer.java:501)
at com.macquarie.st.adapter.rda.STServer.start(STServer.java:120)
at com.macquarie.st.commons.core.runtime.STMain.start(STMain.java:170)
at com.macquarie.st.commons.core.runtime.STMain.main(STMain.java:50)
(google search)
(amazon search)