Skip to main content

Facebook Application Development With Java In Google App Engine in Linux

Well, for some of you the title might seem weird. I've been recently very curious on facebook application development models. And my love for java and Google app engine have led me to explore whether facebook application development is possible in Java with Google App Engine. I've recently shifted my entire work-base to Ubuntu so the entire development process will be in Linux environment.Long back, facebook have officially stopped supporting java for developing facebook applications. However, some java freaks have created the library files that still supports facebook applications development in java parallel to the capability of php. Usually, 'python' is used to develop facebook applications in Google App Engine. I'm curious to find whether the same stuff can be done with java on Google App Engine. I'm just going to scratch the surface and do a trial. I'll try to stay posted this time.

Current Status:

  1. I've eclipse 3.5 for Ubuntu installed from the Ubuntu software center.
  2. I've installed the eclipse plug-in for supporting Google App Engine .
  3. I've finished the step 'Creating a project' and successfully executed the 'Guestbook' application from the tutorial provided by Google.
  4. I tried exporting the facebook libraries for java development from according the instructions I followed from a tutorial form
  5. It had deployed successfully. No Errors Yet!!!!

1st Status Update:

After 6 hours of pulling my hairs and drifting through several tutorials. I'd to give up with partial results. Everything went well almost till the end. It would've been nice if udayogra had given it all easily. Unfortunately, he had given only the skeleton of Java coding a facebook application. I had to add and correct at so many places. But finally, to my delight, I coded the complete error free servlet he had mentioned as skeleton in his tutorials. Doing all these in Google App Engine was pretty difficult.

Outcome: I got a non-functioning but live java facebook application hosted in Google App Engine. ( link (it might/might-not work rt now))

I'm pretty sure it can be made live by correcting some logical errors in supplying the parameter inside index.html and successfully making it retrieve inside the servlet. The output.jsp is still just a skeleton, I just made sure that it works (it works! :) )

To Do:
  • To try creating a <form> in input.html and pass the parameters to servlet.
  • Understand better about 'session' in facebook application.
  • Find out what on earth happened at the end of my tweaking the final code that stopped displaying the 'session' value!
I'd really like to continue with the rest of the task again tomorrow . I hope the talks planned tomorrow with the company that hired( me goes well or some other alternative opens as God wills.

Popular posts from this blog

ICFAI Sikkim Distance MBA Review From My Experience

After a long research I joined for the ICFAI distance MBA program in 2012. Now I've completed 2 semesters ( as of 2013 ). I wanted to write this review so that people who are looking for a good MBA program can get a hand-on review about the distance MBA offered by the ICFAI Sikkim. I've been through all the cycles of this program and this review might help you make the right choice about the program. This article presents my own ( and unbiased ) view of the program and is in no way associated with the course provider.

Is the MBA ICFAI Sikkim Approved By UGC?  As per the latest AICTE regulations, a distance education program must have the approval of a joint commission of  UGC- University Grant CommissionAICTE- All Indian Council for Technical EducationDEC- Distance Education CouncilICFAI Sikkim doesn't have this approval (don't get disappointed, it's not over yet). Only institutes and colleges affiliated to a University are required to take AICTE approval. So ICFAI be…

Is MacBook Air Good For Programming / Blogging ?

I'm a passionate java developer who just migrated from a Windows PC netbook ( Dell mini ) to a 13 inch MacBook Air. Before the netbook I owned a Dell inspirion 1501. I'm quite a bit of an avid blogger as well. I purchased Dell mini just as it was launched hoping that it's compact and mobile architecture would solve all of my need as a programmer and a writer. Unfortunately it turned out that it was a worthless device.The rest of the story goes...

Do Not Compare a Netbook With MacBook AirMacBook's astonishing features far exceeds anything that of a normal Netbook.Before
Buying a netbook for programming and blogging was one of the biggest blunders I ever made on choosing a machine. The screen was 11 inch and clumsy icons of the Windows were a disgrace all the time.The tightly arranged keys in the keyboard made typing a pain. It's slow Intel Atom Processor is too sluggish to run even VLC player.

After  The Mac's backlit spacious keyboard layout, 1440x900 resolution d…

Best Places To Eat at Trivandrum

Are you searching for the most amazing places to eat at Trivandrum? Well, this article is a collection of places from where I've carried the taste after eating. All of them are located in Trivandrum. There is no specific focus for a single kind or restaurant, I've written about the latest hot-spot cafes to ethnic and traditional places at the heart of the city and people for decades.
General Places Azad Hotel Azad Hotel is a hotel-chain all over India and they are one of the best hotels in Trivandrum too. They claim to have introduced the popular dish 'biriyani' in India. However, they provide a good ambience and tasty food. There are all kind of popular non-vegetarian dishes available here. They have a long tradition of serving quality food and that's what makes them the best. There are
Zam Zam This is the most sought after destination in city for the best cooked chicken dishes. The 'Shawai' is the all time best seller of Zam Zam. It's very rushy alwa…