RSS feed [root] /weblog /java /fundamental




login:

password:

title search:




 


Thu Apr 06 06:33:18 GMT 2023

fundamental



(google search) (amazon search)
second
download zip of files only

Sat Apr 23 17:44:47 GMT 2011 From /weblog/java/fundamental

serialization


Here is a mailing list message that tell why we need to serialize logger, sometime there are more need to have for sometime, but we need to do it very careful: http://mail-archives.apache.org[..]06691254D6185151@sheex267.he.conet.de%3E

A link that discuss various aspect of binary or xml (i.e. plain text) serialization, worth to keep as reference
http://www-03.ibm.com[..]f?entry=java_serialization_binary_or_xml

Basic question about serialization - http://www.opensubscriber.com[..]ed-java@discuss.develop.com/1641413.html , a long article explaining that http://www.eaze.org/patrick/java/objectserialization.jsp

Why we have to put serialziation id in serializable class... - https://issues.apache.org/jira/browse/DBUTILS-36

Show cast of test if all object in session can be serialized - http://www.theserverside.com/news/thread.tss?thread_id=38398

Interview questions - http://javarevisited.blogspot.com[..]top-10-java-serialization-interview.html

(google search) (amazon search)


Thu Dec 03 07:23:22 GMT 2009 From /weblog/java/fundamental

enum


An article show how java treat enum internally - http://www.javaspecialists.eu/archive/Issue141.html

Look like it is "replace switch with polymorphism - http://javaforyou.wordpress.com[..]working-with-java-enumerated-types-enums

(google search) (amazon search)


Mon Jan 07 07:03:59 GMT 2008 From /weblog/java/fundamental

clone


Some problems of cloning, include using copy constructor / clone() method - http://www.agiledeveloper.com/articles/cloning072002.htm

(google search) (amazon search)


Mon Sep 10 16:20:10 GMT 2007 From /weblog/java/fundamental

classpath


Two nice basic tutorial about classpath - http://www-128.ibm.com[..]rary/j-classpath-unix/index.html?ca=drs- http://www-128.ibm.com[..]y/j-classpath-windows/index.html?ca=drs-

(google search) (amazon search)


Fri Jun 22 10:10:12 GMT 2007 From /weblog/java/fundamental

array


You can ignore the last comma in arrays - http://hanuska.blogspot.com/2007/02/trailing-comma-in-arrays.html

When you try to case an Array to other Type, you will get funny exception like
Exception in thread "main" java.lang.ClassCastException: [B

Which, showing that if you call new byte[0].getClass() , you will get "[B".

(google search) (amazon search)


Tue Feb 06 09:28:38 GMT 2007 From /weblog/java/fundamental

Integer


Interesting aspect of Integer.valueOf()

http://tech.puredanger.com/2007/02/01/valueof/

(google search) (amazon search)


Wed Jan 10 06:54:38 GMT 2007 From /weblog/java/fundamental

bean


A blog that cover some basic concept of javabean - http://weblogs.java.net[..]air/archive/2007/01/properties_in_j.html

(google search) (amazon search)


Mon May 22 08:33:35 GMT 2006 From /weblog/java/fundamental

Initialization


In short, only call private methods from a constructor.

http://penberg.blogspot.com[..]005/05/calling-abstract-method-from.html

(google search) (amazon search)