Chapter 6. Integrating Legacy and Third-Party Ajax Libraries

This chapter covers

  • Working with the JavaScript Native Interface
  • Creating JSNI Wrappers
  • Dealing with JavaScript eventing models
  • Working with the JSIO project

Before software can be reusable it first has to be usable.

Ralph Johnson

Although we believe GWT represents a superior environment for developing Ajax applications, sometimes the functionality you want to reuse is in existing JavaScript libraries. These might be your own legacy code or third-party libraries. Additionally, there may be times when you want to directly tweak aspects of your GWT application with JavaScript. To perform either of these tasks, you need to use JSNI.

We introduced JSNI in chapter 1 and used it ...

Get GWT in Practice 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.