Chapter 9. Modularizing an application

This chapter covers

  • Configuring GWT modules

  • Including external modules

  • Injecting CSS and JavaScript

  • Packaging modules as JAR files

Now that you’ve built all the user interface components, it’s time to start looking at how you modularize the application. A principle of software design, which has now been with us since the 1960s, is the ability to develop code in a modular fashion in order to increase reuse and reliability. GWT supports modular development in two ways. First, because you’re building a Java application, you have access to all the benefits of Java’s package structure. Second, and this is new to GWT, is the XML module concept. There is a certain amount of synergy between GWT modules and Java packages, ...

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