some small java project demo