In this tutorial, we will be building a very simple RESTful interface for auctions. The interface will be implemented as a Java servlet, presenting auction items and bids as REST resources. We will also develop a simple web-based client to access this service.
The service will allow:
This tutorial is written primarily from the point of view of a Linux user. MacOS systems should be broadly similar to Linux. If you are using Windows, some of the details (such as the style of filenames, command prompts, and use of system variables) will be different.
The tutorial consists of several subsections. Each one will set up a feature of the service, building on the previous work. At the end of the tutorial, you will have a complete (if limited) REST application and API. There is quite a lot of material in the tutorial; if you don’t finish in the time available in the session, you can continue through the tutorial later (but don’t do it during someone else’s tutorial!)
Valid XHTML | Copyright | Last Modified: 1/Apr/2009 |