design pattern: singleton pattern

its problem and three possible solutio
see singleton*.java