CHAPTER 16Miscellaneous Recipes
In this chapter, you will examine various topics that I did not present in the previous chapters. The recipes I present here will show you how to use the service layer in Grails, how to make more advanced use of Spring, how to use external files to configure your application, how to configure logging in your application, how to integrate Grails with Maven 2, and how to write SOAP and RESTful web services.
16-1. What About the Service Layer?
In Chapter 10, I mentioned that in addition to using the MVC pattern, Grails has an extra service layer that you can use when your application contains sophisticated logic. Moving the logic to the service layer promotes reuse because you can pull the same service layer into ...