This post will show you how to develop a simple Google Wave Robot in Java using Eclipse IDE.
Right now, you have to deploy your robot application to google app engine. Google plans to make wave robot application portable on other web container. Moreover, google only support Python and Java as developing languages right now. No, you actually can use any JVM languages which work on Google app engine to develop your robot, such as Groovy, JRuby, Scala. In this post, we only focus on Java.
This post is based on Google officially tutorial.
Requirements for developing and testing a wave robot:
Java 6 http://java.sun.com/javase/downloads/index.jsp
Google Wave robot lib http://code.google.com/p/wave-robot-java-client/downloads/list
Eclipse http://www.eclipse.org/
Google Plugin for Eclipse http://code.google.com/eclipse/
Google App engine account https://appengine.google.com
Google Wave account http://wave.google.com/
Note: In this post, I am going to use Eclipse3.4 (Ganymede), but Google also has a plug-in for Galileo. So there should be no significantly different.
Step 1. Install Google Plugin
In the Eclipse, Click “Help” -> “Software Updates…”, and then click “Add Site” in the popup window, put http://dl.google.com/eclipse/plugin/3.4to the location, install the Google Update Site for Eclipse 3.4 (both Plugin and SDKs) . (if you are using Galileo the update location should be http://dl.google.com/eclipse/plugin/3.5 ) After accepting the term of use, the plugin and Google app engine SDK will be installed. If installation is successful, the Eclipse will ask to restart, click ok.
Now, let’s start the development.
Step 2. Creating a project
Create a new “Web Application project” by click the icon in the toolbar.
1. Give a project name, such as : first-Robot
2. Give a package name, (optional, but a good practice ), such as com.onthetopofthewave
3. Uncheck “Use Google Web Toolkit”, since our robot will have any UI. Make sure “Use Google App Engine“is checked. at the moment of writing, google App engine SDK for Java’s version is 1.2.6
4. Click “Finish”
- Figure.1 Project Structure
Your project should look like the above figure.







Google Wave in the 2010
A New year starts and this one will be the year of Google Wave.
Google like the great demos and great announcements, but when we tried the Google Wave Developer Preview in August we started crying. Nothing worked, at the first click, Dr. Wave used to appear and you had to refresh again…
Dr. Wave and his friend F5
Nowadays it’s hard to find Dr. Wave.
Other things that Google Wave has improved is the speed. Waiting 20-30 seconds for a wave of 4 or 5 participants was the rule more than the exception at that time. Now, you can open a wave of 100 blips and 400 users, in less than 10 seconds you will have downloaded the entire wave. This is not all, you can start reading and scrolling down, it works!, not perfectly but works. A few months ago this was impossible. The usability has improved a lot, and users appreciate the speed and stability as well.
Read More »
If you like what you see, please, support us: