Monday, February 17, 2014

AWS deployment with Boto and Fabric, and a sample Django website

A few months back, I was trying to deploy a simple Django website to AWS and had to write a few python scripts using the boto and fabric frameworks. I am sharing the scripts on github in case any developers are looking for some sample code. The scripts can be found at https://github.com/vijaypm/MyFirstAWS

Note: And, if anyone is looking for a sample Django website, you can find one at https://github.com/vijaypm/MyPhotoSite

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