Web scripts on a production server
A production server sounds interesting, doesn't it? Yes, this is the most important thing. While working on live projects and supporting a production system with Alfresco as a backend repository for your client, you might have to write different web scripts as per the business requirement. This might take longer to execute as the production server will be dealing with a large number of content as compared to your development servers. For example, you might have to write a patch script to add an extra property on existing nodes, or you might need to write a web script to retrieve records for some specific criteria. Let's take a look at what you should take care of while running such web scripts on a production server.
Running web scripts in the background
It might be possible that the web script that you have written once executed against a large number of content might take longer to process. In such cases, you cannot hit the web script from a browser and...