Jul 15

Hilbrand Bouwkamp is an independent internet developer/trainer/presenter specialized in RIA, GWT and Android. He has been following GWT and Wave since it’s first release and has created two open source libraries related to GWT and Wave: cobogw and cobogwave.This blogpost is about the cobogwave library.

As soon as Google Wave was released and I had an account, I wanted to write a Wave Gadget. I believe Gadgets are one of the strengths of Wave because they let you add a structured component to an unstructured communication flow to make things more efficient. For example, a simple date picker Gadget can be added to an event-planning wave, and instead of people having to go to a separate site and communicate their date preferences manually, they can do the date-selection in the wave, and all of the information is stored in a single place. There are many situations like this where gadgets can add structure and keep related information together.

Since the Google Wave client itself is build with GWT (Google Web Toolkit), I thought it to be natural to write a Gadget with GWT. To do that, I needed to wrap the Wave Gadgets JavaScript API with my own GWT JSNI wrapper. Like other GWT gadget developers, I wrote my own wrapper – but I wanted to do it in a way that other developers could benefit from. So, I made sure that my wrapper included all of the Wave Gadgets API functionality, I wrote documentation for it, and I open-sourced it under the Apache 2 license as the cobogwave library. Now, other developers can skip the wrapper-writing step and simply focus on writing their gadget.

The cobogwave library makes it very easy to build gadgets for Wave. Just like the iGoogle GWT Gadgets API library, it defines a Needs interface: NeedsWave. By implementing the interface, you can make your gadget code Wave-enabled. Or, you can simply extend the WaveGadget class for the same effect.

GWT developers are accustomed to work with handlers, so the cobogwave library provides much of its functionality via handlers. For example, you can register for the ModeChangeEvent to be notified when the user changes from playback to edit mode, ParticipantUpdateEvent when a new user is added or removed to the wave, and StateUpdateEvent when the gadget receives a new state. The cobogwave library also has support for experimental functionallity in the Wave Gadget library, like the Wave UI Widgets Button, Frame and Dialog.

Recently, I was involved in the latest release of the gadgets support in the Google API Libraries for GWT. In the new version, it’s much easier to implement RPC calls to your own server, and this method also works for Wave Gadgets.

Here’s a sampling of diverse range of gadgets that developers have built using the cobogwave library:

  • Shortyz: Lets you solve crosswords together in a wave – ported from Android code.

  • MindMap: Lets you create an interactive mindmap, and favorite nodes up or down.

  • Karma: Lets participants in a Wave rate each other.

  • Pongy: Lets you play the classic game “Pong” with a fellow Wave user. (This last gadget was written by me to showcase the highly interactive possibilities of Wave.)

To start building your own Wave Gadgets with GWT, visit the cobogwave project page and to keep informed on updates, follow me on Twitter.

No tags for this post.

Related posts

Tagged with:
Jul 15

Friday: Goldman Brings Relief as Earnings Flood Continues
CNBC
Some of the uncertainties holding back the stock market were swept away Thursday afternoon by a wave of good news. Investors though may find no long term

and more »

No tags for this post.

Related posts

Tagged with:
Jul 15

Several China Blogs Go Offline
Wall Street Journal
The complaints come as concerns grow among Chinese Internet users about a possible crackdown on China's burgeoning microblogging services, after a wave of

and more »

No tags for this post.

Related posts

Tagged with:
Jul 15

WSJ: European Stocks Slip On Recovery Worries
Wall Street Journal
Analysts generally welcomed the move saying that it would boost Piraeus Bank and may touch off a wave of other mergers in the industry.

and more »

No tags for this post.

Related posts

Tagged with:
Jul 15

FOXNews

5 Apps You Can Build With New Android App Inventor
TG Daily
Well, this app sends a sonic wave out to anyone calling you from an Apple product, rendering them catatonic. How's that iPhone working for you now, byatch?
New Google Release Could Change Everything. Will it?WebProNews (blog)

all 110 news articles »

No tags for this post.

Related posts

Tagged with:
Jul 15

Product Reviews (blog)

Rogers: Price Drop for Xperia X10, Wave, Acer Liquid E and Quench
Product Reviews (blog)
These handsets are the Sony Ericsson Xperia X10, the Acer Liquid E, the Motorola Quench and the Samsung Wave, as you can see all pretty reputable devices.

and more »

No tags for this post.

Related posts

Tagged with:
Jul 15

3G (press release)

Samsung Wave vs. other smartphones, secret of 1 million sales worldwide
International Business Times
When one compares it with Apple iPhone, Google Nexus One, HTC Evo 4G and HTC Droid Incredible, Samsung Wave has a display of 3.3-inches which is much lesser
Samsung Wave: Over 1 Million Units SoldDrop News (blog)
Samsung WaveZDNet Australia

all 27 news articles »

No tags for this post.

Related posts

Tagged with:
Jul 15

Five reasons why Google is more than ready for the enterprise
Computerworld (blog)
and some revolutionary (eg, Google Buzz and Wave). Â Â Now Google is turning Apps into an extensible platform for the partner ecosystem, allowing Google

and more »

No tags for this post.

Related posts

Tagged with:
Jul 15

DeStefano's task force to focus on social media
New Haven Register (subscription)
The energy around the social media wave is driving local grass-roots efforts to market New Haven as a potential pilot city for Google's “ultra-high speed”

and more »

No tags for this post.

Related posts

Tagged with:
Jul 15

New York Times (blog)

Commentary: Fewer buyers and lower satisfaction plague RIM
MarketWatch
Because the iPhone is killing it — and because the Google (NASDAQ:GOOG) Android operating system is driving strong sales for HTC and other manufacturers.
Apple iPhone tops Change Wave Research latest smart phone market surveySouth Asia Blog (blog)
RIM says Blackberry 6 won't suckTG Daily
HTC and Apple Stealing Market Share from Motorola and RIMSoftpedia

all 141 news articles »

No tags for this post.

Related posts

Tagged with:
preload preload preload