added small java project example