Summary: Creating and customizing REST services by using the configuration-based controller command and data bean mapping framework

In this tutorial, you created a REST handler for mapping the custom data bean and controller command, and customized an existing configuration-based data bean mapping to return more data.

Summary

In the first part of this tutorial, by using the sample data bean and controller command, you created your own mapping configuration files and REST resource handler. The REST resource handler makes the REST calls to the sample data bean and controller command. In the second part of the tutorial, by using the example of the default RequisitionListDataBean, you customized an existing configuration-based data bean mapping to return more data.

In the final section of the tutorial, you annotated your custom REST handler, which enabled Swagger to display the available REST API.

Lessons Learned

You learned about the following concepts and tasks:
  • Web service
  • REST service
  • Widgets definition
  • SQL
  • XML
  • XPath
  • Rational Application Developer
  • JSP/JSPF
  • Java
  • REST mapping command (restClassicSampleGen.bat)