9. Adding APIs

There are many JavaScript libraries and web services, and you can include their features in your application by adding JSNI (as we saw in chapter 8, “Mixing in JavaScript,”) and some GWT coding. In this chapter we see some examples and get to process data feeds to get weather information, use charts to provide a visual dashboard, and interact with geographic data working with maps.

Creating highly interactive, modern web applications doesn’t mean reinventing the wheel for each specific purpose. Rather, we like to utilize the many available APIs for just about anything you might want.

(Of course, you should remember that you won’t be getting the usual GWT benefits as to code optimization, dead code removal, and more, if you just ...

Get Essential GWT: Building for the Web with Google Web Toolkit 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.