java develop samples