Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning Alfresco Web Scripts
  • Toc
  • feedback
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

By : Ramesh Chauhan
4.5 (4)
close
Learning Alfresco Web Scripts

Learning Alfresco Web Scripts

4.5 (4)
By: Ramesh Chauhan

Overview of this book

If you are an Alfresco developer who has no experience with web scripts and you want to start developing Alfresco web scripts, then this book is definitely for you.
Table of Contents (12 chapters)
close
11
Index

Behind the scenes of web script execution

Let's try to understand at a high level what happens on a web script being hit in different scenarios such as when a web script does not have a controller and when it does.

A web script without a controller

To execute the first web script we created without controller, we just hit the URL http://localhost:8080/alfresco/service/helloworld?name=Ramesh on a web browser, which is basically a HTTP GET request call.

All the incoming requests matching the URL pattern /alfresco/service/* are mapped to the web script request dispatcher servlet in the Alfresco web application configuration.

The servlet then passed the request to the Web Script Runtime to process the web script.

The Web Script Runtime passed the control to the Web Script Container. The Web Script Container internally identified which web script to execute based on the invoked web script URL, HTTP method, and the web script descriptor document helloworld.get.desc.xml.

We have not specified any...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete