Summary

In this chapter, we understood in detail how to develop a Java-backed web script in Alfresco. We took a sample use case scenario and first identified the requisites and identified the logic implementation to be included in the controller before actually implementing the web script. We implemented the web script description document, response templates for JSON and XML, Java-backed controller, and associated the controller with the web script step by step. We then deployed the web script and registered the web script to the web script framework.

Later, we tested the web script in order to see its output in different test scenarios to test the logic implemented in the controller. Finally, we understood the differences between the two helper ...

Get Learning Alfresco Web Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.