O'Reilly logo

Groovy Programming by John Savage, Kenneth Barclay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22 CASE STUDY

A LIBRARY APPLICATION (GUI)

Using knowledge gained in Chapter 20 and Appendix L, in this chapter, we revisit the library case study of Chapter 18. Our aim is to give the application a more modern look and feel by adding a GUI. Happily, we reap the benefit of its MVC architecture by not having to change any of the model classes. Similarly, the decision to use a DAO means that no changes to classes that access the database are required. Finally, Groovy’s SwingBuilder makes the construction of the GUI relatively easy.

22.1 ITERATION I: PROTOTYPE THE GUI

The aim of this iteration is to demonstrate that we can replace the text-based menu developed in the case study of Chapter 18 with a GUI. Our intention is that it should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required