O'Reilly logo

Groovy and Grails Recipes by Bashar Abdul-Jawad

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

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