Monday, February 17, 2014

Web app development with Jersey and JSON

Over the last few days, I have been trying to create a simple Jersey based web app for my Google glass. I have been frustrated to find that there is no single tutorial or book or document that explains how to create a simple Jersey app that accepts JSON, is unit tested through the Jersey test framework and can be deployed as a war in a traditional servlet container.
After several hours of searching through stackoverflow and reading very confusing jersey documentation, I finally managed to create a working app. I have now uploaded the source code to github with the hope that I might be able to save a few hours for my fellow developers who want to experiment with Jersey. Note: I have done a lot of traditional servlet development but this is my first jersey app.

You can find the app at https://github.com/vijaypm/samplejerseyjson

No comments: