Publishing a RESTful web service using the REST component

REST stands for Representational State Transfer. REST exposes a much simpler interface than SOAP. REST components are bound with HTTP. So, if you are designing an application to be used exclusively on the Web, REST is a very good option. RESTful applications simply rely on the built-in HTTP security. A REST design is good for database-driven applications and also when a client wants quick integration.

Getting ready

In this example, we'll use three components: HTTP, Logger, and REST.

  1. Open Mule Studio and enter the workspace name as shown in following screenshot:
    Getting ready
  2. To create a new project, go to ...

Get Mule ESB Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.