Common Restful Server / Service in Java