Java Client for Google Data API, One More Step to World Domination

google-monster

I’ve featured a number of Google projects before, most of them I liked. Some look strange and pointless. But I’ve always found the documentation to be outstanding. Maybe a little too technical for many, but for some reason, it’s always just right for me. The Google Data API’s are just one more example. Currently I’m learning the Google Documents List Data API and it looks like another winner.

I found the Google Documents List Data API through a strange detour. I want to generate PDF files on Google AppEngine, but sadly, the most popular and advanced Java PDF library, iText, is not (yet?) fully compatible with Google AppEngine. There are some hacks out there to get it working, but I’m not too much of a fan for starting out with a hacked and unsupported library.

So after some googling (what else?) I stumbled upon the perfect solution: Google Documents can be exported to PDF, they can be used as templates and, best of all, it is possible to use all of that functionality from inside a Java program.

As always, Google has a strong preference for Eclipse. If you go with that flow, they have a long and detailed document to get you started. If you want to use other IDEs or continuously integrate, there are ANT build scripts included with the distribution. And if you look around, there will undoubtedly be Maven integration plugins too.

Once that is taken care of, the Java Language Guide for the Google Documents List Data API is an introduction to pretty much every task you’ll want to do with the API.

This entry was posted in Java and JavaScript. Bookmark the permalink. Both comments and trackbacks are currently closed.

One Trackback

  1. By Creating PDF File on Google App Engine on July 6, 2010 at 10:03 am

    [...] mentioned this before, but it wasn’t until last weekend that I actually got started implementing my solution. The solution consists of generating HTML documents, exporting them to Google Docs and finally, [...]

  • Feedback or questions? Contact me right away.

    Comments have been disabled on my posts. Not because I don't want to hear from you, but because they were adding very little to the conversation (most of them were spam anyway). I do listen to you and try to keep as much posts as possible up-to-date and error free. So if you have a question, if something isn't working the way you hoped or you have general feedback, please use the contact form below. I guarantee an answer to every honest question or remark.
  • Get in touch
    1. (required)
    2. (valid email required)
     

    cforms contact form by delicious:days