O'Reilly logo

Beginning Groovy and Grails: From Novice to Professional by James Shingler, Joseph Faisal Nusairat, Christopher M. Judd

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 13Alternative Clients

In Chapter 9, you developed a RESTful web services facility for the Collab-Todo application. You're now able to go to your browser, type in the URL, and perform basic CRUD operations against the domain objects using XML or JSON. In this chapter, you're going to see how you can use Groovy to consume the web services.

The first part of this chapter will take a look at writing Groovy scripts to consume the web services from the command line. The second part of this chapter will build upon the first part to build a rich Groovy client, using a Swing application that leverages the web services.

Overview

In Chapter 9, you developed a RESTful web service to perform CRUD operations using XML or JSON. Figure 13-1 is an overview ...

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