simpla java app with mysql db