A template of a RESTful webapp written in java