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.
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 ...