Restful application based on Jersey framework