O'Reilly logo

Mule ESB Cookbook by Uchit Vyas, Azaz Desai, Abdul Samad, Dr. Zakir Laliwala

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

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

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