REST Service Tutorial

The REST Bookstore sample lets you explore the REST tooling in TIBCO Business Studio™ for BusinessWorks™. You can import this sample into TIBCO Business Studio for BusinessWorks through File Explorer and examine the project.

The processes in the sample implement different aspects of a bookstore, such as adding a book, deleting a book, and retrieving a list of books or a single book by its ISBN.

For more information about the sample, see Using REST to Manage Books for a Bookstore in the TIBCO ActiveMatrix BusinessWorks™ Samples guide.

This tutorial walks you through the steps to build an additional REST service for the sample and test it in the debugger. You can use the Swagger UI to invoke the operations for the REST resource.

Prerequisites

Have the following installed or created on your computer:

  • PostgresSQL
  • Required database and tables
  • Most recent version of Google Chrome

For more information, see Installing PostgresSQL.