restfull service tryout java