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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.