add code project sample project: java-sample-2