add a new post about the java design pattern