19.3. Making use of code splitting

To reminisce a bit, back in 2006 when GWT was released it solved a lot of the traditional problems for developing large JavaScript applications. So great was the promise that developers began to produce massive GWT applications—massive enough that they started hitting a wall. The wall they hit had to do with the size of the application.

If you think about a traditional desktop application like Microsoft Word, the application has many features that you don’t normally use. For instance, the Mail Merge tool within Microsoft Word is extremely useful when you need that functionality, but most users rarely use it, if at all. So the first question is, how do you load only the functionality that will be used?

Another ...

Get GWT in Action, Second Edition 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.