Java sample project